// AdminSupplyOrdersController: fixed condition..
This commit is contained in:
1 parent
1c05763ee2
commit
0a1f1e8e02
1 file changed
+2
-1
@@ -1752,8 +1752,9 @@ class AdminSupplyOrdersControllerCore extends AdminController
|
|||||||
*/
|
*/
|
||||||
public function beforeAdd($object)
|
public function beforeAdd($object)
|
||||||
{
|
{
|
||||||
if (Tools::isSubmit('is_template'));
|
if (Tools::isSubmit('is_template'))
|
||||||
$object->is_template = 1;
|
$object->is_template = 1;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user