Ignore:
Timestamp:
2011/03/07 15:23:39 (15 years ago)
Author:
Seasoft
Message:

#627(ソース整形・ソースコメントの改善)
#628(未使用処理・定義などの削除)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/SC_SelectSql.php

    r18820 r20538  
    176176 
    177177        配列の構造例  
    178         if ( $_POST['show_site1'] ) $arrShowsite_1 = array( "column" => "show_site1", 
    179                                                             "value"  => $_POST['show_site1'] ); 
     178        if ( $_POST['show_site1'] ) $arrShowsite_1 = array( 'column' => "show_site1", 
     179                                                            'value'  => $_POST['show_site1'] ); 
    180180 
    181181    */ 
     
    186186        for( $i = 0; $i < $count; $i++ ) { 
    187187 
    188             if( isset( $arrWhere[$i]["value"] ) ) $statement .= $arrWhere[$i]["column"] ." = " . SC_Utils_Ex::sfQuoteSmart($arrWhere[$i]["value"]) ." OR "  ; 
     188            if( isset( $arrWhere[$i]['value'] ) ) $statement .= $arrWhere[$i]['column'] ." = " . SC_Utils_Ex::sfQuoteSmart($arrWhere[$i]['value']) ." OR "  ; 
    189189        } 
    190190 
Note: See TracChangeset for help on using the changeset viewer.