Ignore:
Timestamp:
2013/07/20 17:38:14 (8 years ago)
Author:
adachi
Message:

#2179 #2179 booleanをsmallintへ変更

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/pages/admin/ownersstore/LC_Page_Admin_OwnersStore_PluginHookPointList.php

    r22978 r22991  
    5252        $this->tpl_subtitle = 'プラグインフックポイント管理'; 
    5353 
    54         $this->arrUse[t] = 'ON'; 
    55         $this->arrUse[f] = 'OFF'; 
     54        $this->arrUse = array(); 
     55        $this->arrUse[1] = 'ON'; 
     56        $this->arrUse[0] = 'OFF'; 
    5657    } 
    5758 
     
    7677        // パラメーター管理クラス 
    7778        $objFormParam = new SC_FormParam_Ex(); 
    78         $this->initParam($objFormParam, $mode); 
     79        $this->initParam($objFormParam); 
    7980        $objFormParam->setParam($_POST); 
    8081 
     
    8889                    $arrPluginHookpointUse = $objFormParam->getValue('plugin_hookpoint_use'); 
    8990                    $plugin_hookpoint_id = $objFormParam->getValue('plugin_hookpoint_id'); 
    90                 $use_flg = ($arrPluginHookpointUse[$plugin_hookpoint_id] == 't') ? true :false; 
    91                 SC_Plugin_Util_Ex::setPluginHookPointChangeUse($plugin_hookpoint_id, $use_flg); 
     91                    $use_flg = ($arrPluginHookpointUse[$plugin_hookpoint_id] == 1) ? 1 : 0; 
     92                    SC_Plugin_Util_Ex::setPluginHookPointChangeUse($plugin_hookpoint_id, $use_flg); 
    9293                } 
    9394                break; 
     
    99100        // 競合チェック 
    100101        $this->arrConflict = SC_Plugin_Util_Ex::checkConflictPlugin(); 
    101         foreach ($arrRet AS $key=>$val) { 
     102        $arrHookPoint = array(); 
     103        foreach ($arrRet AS $key => $val) { 
    102104            $arrHookPoint[$val['hook_point']][$val['plugin_id']] = $val; 
    103105        } 
Note: See TracChangeset for help on using the changeset viewer.