Ignore:
Timestamp:
2007/10/11 16:41:56 (19 years ago)
Author:
nanasess
Message:

addslashes() を SC_Utils_Ex::sfQuoteSmart() に修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/SC_SelectSql.php

    r15571 r16379  
    170170        for( $i = 0; $i < $count; $i++ ) { 
    171171 
    172             if( isset( $arrWhere[$i]["value"] ) ) $statement .= $arrWhere[$i]["column"] ." = '" . addslashes( $arrWhere[$i]["value"] ) ."' OR "  ; 
     172            if( isset( $arrWhere[$i]["value"] ) ) $statement .= $arrWhere[$i]["column"] ." = " . SC_Utils_Ex::sfQuoteSmart($arrWhere[$i]["value"]) ." OR "  ; 
    173173        } 
    174174 
Note: See TracChangeset for help on using the changeset viewer.