Skip to content

Commit 6adecdf

Browse files
committed
Merge pull request a1phanumeric#18 from woiweb/patch-1
Update class.MySQL.php
2 parents 35e942c + 356122e commit 6adecdf

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, -1);
160+
$query = substr($query, 0, -2);
161161

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

0 commit comments

Comments
 (0)