// Fix PrestaShopException typo

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12128 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-01-04 13:53:19 +00:00
parent c5519c7b70
commit 494205d52e
36 changed files with 96 additions and 86 deletions
@@ -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'];
}