Skip to content

Commit d687882

Browse files
committed
FIX: Check the proper value
1 parent f687987 commit d687882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/db/schema/CDbCriteria.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public function __wakeup()
200200
{
201201
foreach($this->$field as $k=>$v)
202202
{
203-
if (is_scalar($this->{$field}[$k]))
203+
if (is_scalar($v))
204204
$this->{$field}[$k]=strtr($v,$map);
205205
}
206206
}

0 commit comments

Comments
 (0)