From 9a37a8af4abc6a0ad91ff3f9acec35484e5bf446 Mon Sep 17 00:00:00 2001 From: lLefevre Date: Wed, 21 Dec 2011 17:03:01 +0000 Subject: [PATCH] // fix fatal error git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11517 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminProductsController.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/controllers/admin/AdminProductsController.php b/controllers/admin/AdminProductsController.php index 42aacbac1..b701fa862 100644 --- a/controllers/admin/AdminProductsController.php +++ b/controllers/admin/AdminProductsController.php @@ -2110,8 +2110,6 @@ class AdminProductsControllerCore extends AdminController $this->_errors[] = 'Unable to load object'; else { - if ($this->object->id && !Shop::isProductAvailable($this->object->id)) - $this->_displayUnavailableProductWarning(); $this->_displayDraftWarning($this->object->active); $this->initPack($this->object);