@@ -779,7 +779,7 @@ |
||
| 779 | 779 | |
| 780 | 780 | // Sanity check for replace is key part of the columns array |
| 781 | 781 | if ($method == 'replace') |
| 782 | - { |
|
| 782 | + { |
|
| 783 | 783 | if (empty($keys)) |
| 784 | 784 | smf_db_error_backtrace('When using the replace mode, the key column is a required entry.', |
| 785 | 785 | 'Change the method of db insert to insert or add the pk field to the key array', E_USER_ERROR, __FILE__, __LINE__); |