* Fix data error.
This commit is contained in:
@@ -69,7 +69,7 @@ class productplan extends control
|
||||
{
|
||||
if(!empty($_POST))
|
||||
{
|
||||
$planData = form::data()->get($this->config->productplan->form->create);
|
||||
$planData = form::data()->get();
|
||||
$planID = $this->productplan->create($planData, (int)$this->post->future);
|
||||
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));
|
||||
$this->loadModel('action')->create('productplan', $planID, 'opened');
|
||||
|
||||
Reference in New Issue
Block a user