Skip to content

Commit 1df3146

Browse files
committed
#21 remove unnecessary trim
1 parent 8504061 commit 1df3146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/Behavior/InsertBehavior.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ private function buildTmpTableSelectQuery($insertData)
122122
if (is_null($value)) {
123123
$schema[] = "NULL AS {$col}";
124124
} else {
125-
$bindKey = ':' . strtolower(trim($key));
125+
$bindKey = ':' . strtolower($key);
126126
$binds[$bindKey] = $value;
127127
$schema[] = "{$bindKey} AS {$col}";
128128
}

0 commit comments

Comments
 (0)