// AdminSupplyOrdersController: fixed condition..
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10755 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
9c7bc59954
commit
b61478ca1e
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