Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Sanity check for replace is key part of the columns array
- if ($method == 'replace' && count(array_intersect_key($columns, array_flip($keys))) !== count($keys))
- smf_db_error_backtrace('Primary Key field missing in insert call',
- 'Change the method of db insert to insert or add the pk field to the columns array', E_USER_ERROR, __FILE__, __LINE__);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement