X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fpool-functions.php;h=1bfc33bfc48411f2ff0bfe8ac99942f7977b45b3;hp=08490fb27f00e15f8b56ed40fae9788e3046bd22;hb=eb3e924768678719afc1bfaffb69354c407daa5b;hpb=175b3f506e193d8d791ec6523db42276e296dd0b diff --git a/inc/pool-functions.php b/inc/pool-functions.php index 08490fb27f..1bfc33bfc4 100644 --- a/inc/pool-functions.php +++ b/inc/pool-functions.php @@ -85,7 +85,7 @@ function updatePoolDataById ($poolId, $columnName, $data, $updateMode = NULL, $w // 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',