// 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:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user