// Fix for Strict standards: Creating default object from empty value, when try to add a new product without product name or friendly URL

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8777 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
jmCollin
2011-09-26 15:53:36 +00:00
parent 52b96fb902
commit da24f70c91
+1
View File
@@ -430,6 +430,7 @@ function generateShopList()
function runAdminTab()
{
require_once(_PS_ADMIN_DIR_.'/init.php');
// $cookie = Context::getContext()->cookie;
if (empty($tab) and !sizeof($_POST))
{
$tab = 'AdminHome';