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

This commit is contained in:
jmCollin
2011-09-26 15:53:36 +00:00
parent 090681e638
commit 3488f50970

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';