Qual: Return id of order creates instead of 1 with method

createFromProposal
This commit is contained in:
Florian Henry
2013-07-10 13:32:42 +02:00
parent 44cd024f89
commit 729cef3eb4

View File

@@ -989,7 +989,7 @@ class Commande extends CommonOrder
$this->fetch($ret);
$this->valid($user);
}
return 1;
return $ret;
}
else return -1;
}