// 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:
1 parent
090681e638
commit
3488f50970
1 file changed
+1
@@ -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