- Timestamp:
- 2009/01/25 19:34:49 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/pages/admin/LC_Page_Admin_Home.php
r17606 r17746 198 198 function lfGetSoldOut() { 199 199 $objQuery = new SC_Query(); 200 $where = "product_id IN (SELECT product_id FROM dtb_products_class WHERE stock_unlimited IS NULLAND stock <= 0)";200 $where = "product_id IN (SELECT product_id FROM dtb_products_class WHERE stock_unlimited = 0 AND stock <= 0)"; 201 201 $arrRet = $objQuery->select("product_id, name", "dtb_products", $where); 202 202 return $arrRet;
Note: See TracChangeset
for help on using the changeset viewer.