// Is update mode set?
if (!is_null($updateMode)) {
// Don't allow array as data here
- assert(!is_array($data), 'data must not be an array.');
+ assert(!is_array($data));
// Then use this on the column with this mode (mostly counters)
sqlQueryEscaped('UPDATE `{?_MYSQL_PREFIX?}_pool` SET `%s`=`%s`%s%s WHERE `id`=%s' . $whereSql . ' LIMIT 1',