Changeset 17746


Ignore:
Timestamp:
2009/01/25 19:34:49 (13 years ago)
Author:
Seasoft
Message:

管理画面ホームの品切れ商品が表示されない不具合を修正。
 http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=1237&forum=11

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/pages/admin/LC_Page_Admin_Home.php

    r17606 r17746  
    198198    function lfGetSoldOut() { 
    199199        $objQuery = new SC_Query(); 
    200         $where = "product_id IN (SELECT product_id FROM dtb_products_class WHERE stock_unlimited IS NULL AND stock <= 0)"; 
     200        $where = "product_id IN (SELECT product_id FROM dtb_products_class WHERE stock_unlimited = 0 AND stock <= 0)"; 
    201201        $arrRet = $objQuery->select("product_id, name", "dtb_products", $where); 
    202202        return $arrRet; 
Note: See TracChangeset for help on using the changeset viewer.