Commit 9b3ab2ba authored by 秦俊坤's avatar 秦俊坤

bugfix

parent 6c5f6b96
......@@ -148,7 +148,7 @@ abstract class BaseModel extends Model
$sql .= sprintf(
"WHEN '%s' THEN '%s' \n",
$line[$field],
!is_numeric($line[$column])?addslashes($line[$column]):$line[$column],
!is_numeric($line[$column])?addslashes($line[$column]):$line[$column]
);
}
$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