[-] BO: Fix #PSCFV-7838 deleted taxes should not appears on the listing

This commit is contained in:
Rémi Gaillard committed 2013-02-20 17:34:32 +01:00
1 parent ee86c520fb
commit 322ba102ff
2 files changed
+3 -1

No files matched your search

@@ -355,7 +355,7 @@ class AdminProductsControllerCore extends AdminController
protected function loadObject($opt = false) protected function loadObject($opt = false)
{ {
$result = parent::loadObject($opt); $result = parent::loadObject($opt);
if ($result && Validate::isLoadedObjec($this->object)) if ($result && Validate::isLoadedObject($this->object))
$this->object->loadStockData(); $this->object->loadStockData();
return $result; return $result;
} }
@@ -103,6 +103,8 @@ class AdminTaxesControllerCore extends AdminController
); );
parent::__construct(); parent::__construct();
$this->_where .= ' AND a.deleted = 0';
} }
/** /**