Ignore:
Timestamp:
2007/09/18 21:22:52 (15 years ago)
Author:
nanasess
Message:

WHERE 句のキーを quote するように修正

File:
1 edited

Legend:

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

    r15716 r15720  
    139139        foreach ($masterData as $key => $val) { 
    140140            $sqlVal = array($columns[1] => $val); 
    141             $this->objQuery->update($name, $sqlVal, $columns[0] . " = " .  $key); 
     141            $this->objQuery->update($name, $sqlVal, $columns[0] . " = " .  SC_Utils_Ex::sfQuoteSmart($key)); 
    142142            $i++; 
    143143        } 
Note: See TracChangeset for help on using the changeset viewer.