This commit is contained in:
Karl Cordes 2011-05-02 09:31:57 +10:00
parent 42f3972945
commit 0757962b8c

View file

@ -36,10 +36,8 @@ class ShipmentsController extends AppController {
function ajax_edit() {
$this->layout = 'ajax';
//print_r($this->data);
print_r($this->errors);
if(!empty($this->data)) {
if ($this->Shipment->saveAll($this->data)) {
if ($this->Shipment->save($this->data)) {
echo "SUCCESS";
}
else {