From 3488f5097099f8ea72faad73d0addecb99f962e2 Mon Sep 17 00:00:00 2001 From: jmCollin Date: Mon, 26 Sep 2011 15:53:36 +0000 Subject: [PATCH] // Fix for Strict standards: Creating default object from empty value, when try to add a new product without product name or friendly URL --- admin-dev/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/admin-dev/functions.php b/admin-dev/functions.php index 1e5188595..d19be7a7e 100644 --- a/admin-dev/functions.php +++ b/admin-dev/functions.php @@ -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';