Skip to content

Commit 83e03fa

Browse files
committed
Merge pull request a1phanumeric#16 from yeetim/patch-1
insert false
2 parents 5ad9c28 + 9b3cba4 commit 83e03fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

class.MySQL.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ function Insert($vars, $table, $exclude = ''){
157157
$query .= "`{$key}` = '{$value}', ";
158158
}
159159

160-
$query = substr($query, 0, -2);
160+
$query = substr($query, 0, -1);
161161

162162
return $this->ExecuteSQL($query);
163163
}

0 commit comments

Comments
 (0)