// 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:
1 parent
b2cab5d3f4
commit
61898e2ac1
2 files changed
+2
-2
No files matched your search
@@ -167,7 +167,7 @@ class AdminOrdersStates extends AdminTab
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="margin-form">
|
<div class="margin-form">
|
||||||
<p>'.elog($this->getFieldValue($obj, 'shipped')).'
|
<p>
|
||||||
<input type="checkbox" style="vertical-align: text-bottom;" name="shipped"'.(($this->getFieldValue($obj, 'shipped') == 1) ? ' checked="checked"' : '').' id="shipped_on" value="1" />
|
<input type="checkbox" style="vertical-align: text-bottom;" name="shipped"'.(($this->getFieldValue($obj, 'shipped') == 1) ? ' checked="checked"' : '').' id="shipped_on" value="1" />
|
||||||
<label class="t" for="shipped_on"> '.$this->l('Set order as shipped').'</label>
|
<label class="t" for="shipped_on"> '.$this->l('Set order as shipped').'</label>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -3899,7 +3899,7 @@ class AdminProducts extends AdminTab
|
|||||||
|
|
||||||
switch(Tools::getValue('action'))
|
switch(Tools::getValue('action'))
|
||||||
{
|
{
|
||||||
case 'depends_on_stock':elog((int)Tools::getValue('value'));
|
case 'depends_on_stock':
|
||||||
if (Tools::getValue('value') === false)
|
if (Tools::getValue('value') === false)
|
||||||
return Tools::jsonEncode(array('error' => 'Undefined value'));
|
return Tools::jsonEncode(array('error' => 'Undefined value'));
|
||||||
if ((int)Tools::getValue('value') != 0 && (int)Tools::getValue('value') != 1)
|
if ((int)Tools::getValue('value') != 0 && (int)Tools::getValue('value') != 1)
|
||||||
|
|||||||
Reference in new issue
Block a user