Commit 3d40e086 authored by Liu lu's avatar Liu lu

fixed

parent 63ec3025
...@@ -148,7 +148,7 @@ abstract class BaseModel extends Model ...@@ -148,7 +148,7 @@ abstract class BaseModel extends Model
$sql .= sprintf( $sql .= sprintf(
"WHEN '%s' THEN '%s' \n", "WHEN '%s' THEN '%s' \n",
$line[$field], $line[$field],
!is_numeric($line[$column])?addslashes($line[$column]):$line[$column], !is_numeric($line[$column])?addslashes($line[$column]):$line[$column]
); );
} }
$sql .= "END,"; $sql .= "END,";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment