Index: db_connection.php =================================================================== --- db_connection.php (revision 14239) +++ db_connection.php (working copy) @@ -773,8 +773,9 @@ } $sql = strtoupper($type) . ' INTO `' . $table . '` (' . $fields_sql . ') VALUES (' . implode('),(', $value_sqls) . ')'; + $value_sqls = Array (); // reset before query to prevent repeated call from error handler to insert 2 records instead of 1 + $insert_result = $this->ChangeQuery($sql); - $value_sqls = Array (); } return $insert_result;