Internal overhaul of Cart/Checkout and other minor fixes
This commit is contained in:
@@ -95,7 +95,9 @@ class Controller_Admin_Payment extends Controller_Payment {
|
||||
private function add_edit($id=NULL,$output='') {
|
||||
$po = ORM::factory('Payment',$id);
|
||||
|
||||
if ($_POST) {
|
||||
if ($this->request->post()) {
|
||||
$po->values($this->request->post());
|
||||
|
||||
// Update our invoice payment items
|
||||
if (isset($_POST['payment_item']) AND count($_POST['payment_item']))
|
||||
foreach ($_POST['payment_item'] as $k=>$v) {
|
||||
|
Reference in New Issue
Block a user