From ca1f912571df254062d20cc3bbaa2cb14aae5393 Mon Sep 17 00:00:00 2001 From: lLefevre Date: Wed, 21 Dec 2011 17:03:01 +0000 Subject: [PATCH] // fix fatal error --- 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);