function storeStatus($pContentStatusId) { if ($this->isValid()) { // keep com_products.products_status update to date because it is so pervasive in bitcommerce the code base - one day it will go away... $this->mDb->query("UPDATE " . TABLE_PRODUCTS . " SET `products_status`=? WHERE `products_id`=?", array((int) ($pContentStatusId > 0), $this->mProductsId)); parent::storeStatus($pContentStatusId); } }