// Fix PrestaShopException typo
This commit is contained in:
1 parent
1ad456ad41
commit
4b17d64cf7
36 files changed
+96
-86
No files matched your search
@@ -2153,7 +2153,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
$this->tpl_form_vars['product'] = $this->object;
|
||||
if ($this->ajax)
|
||||
if (!isset($this->tpl_form_vars['custom_form']))
|
||||
throw new PrestashopException('custom_form empty for action '.$this->tab_display);
|
||||
throw new PrestaShopException('custom_form empty for action '.$this->tab_display);
|
||||
else
|
||||
return $this->tpl_form_vars['custom_form'];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user