обновление параметров
This commit is contained in:
parent
99dd41be05
commit
39e016b6b2
|
@ -66,7 +66,11 @@ class MoleController extends Controller
|
||||||
$control = new $class($task->controller, 'product');
|
$control = new $class($task->controller, 'product');
|
||||||
if (method_exists($control, $action))
|
if (method_exists($control, $action))
|
||||||
{
|
{
|
||||||
$control->{$action}(unserialize($task->params));
|
$params = $control->{$action}(unserialize($task->params));
|
||||||
|
if(!empty($params))
|
||||||
|
{
|
||||||
|
$task->params = serialize($params);
|
||||||
|
}
|
||||||
$task->isReady = 1;
|
$task->isReady = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue