Changeset 17460


Ignore:
Timestamp:
2008/07/24 21:23:05 (13 years ago)
Author:
Seasoft
Message:

ステータスアイコンの最大値の算出方法を修正

File:
1 edited

Legend:

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

    r17455 r17460  
    542542 
    543543        if (!isset($array['product_flag'])) $array['product_flag'] = ""; 
    544         $array['product_flag'] = SC_Utils_Ex::sfMergeCheckBoxes($array['product_flag'], count($this->arrSTATUS)); 
     544        $max = max(array_keys($this->arrSTATUS)); 
     545        $array['product_flag'] = SC_Utils_Ex::sfMergeCheckBoxes($array['product_flag'], $max); 
    545546 
    546547        return $array; 
Note: See TracChangeset for help on using the changeset viewer.