// Removing undefined function
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9491 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -3899,7 +3899,7 @@ class AdminProducts extends AdminTab
|
||||
|
||||
switch(Tools::getValue('action'))
|
||||
{
|
||||
case 'depends_on_stock':elog((int)Tools::getValue('value'));
|
||||
case 'depends_on_stock':
|
||||
if (Tools::getValue('value') === false)
|
||||
return Tools::jsonEncode(array('error' => 'Undefined value'));
|
||||
if ((int)Tools::getValue('value') != 0 && (int)Tools::getValue('value') != 1)
|
||||
|
||||
Reference in New Issue
Block a user