X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Foverview-inc.php;h=31b89cb81e89c73add8eb227eb6b3d4135d30126;hp=278c2b0e7a24c9778631e117388c2920363aab5e;hb=9afd6ec5878544a7982c50ed9c0dd7de37606d5b;hpb=3c23bfaee208fa12adf5cdd9d8e9882612199d03 diff --git a/inc/modules/admin/overview-inc.php b/inc/modules/admin/overview-inc.php index 278c2b0e7a..31b89cb81e 100644 --- a/inc/modules/admin/overview-inc.php +++ b/inc/modules/admin/overview-inc.php @@ -150,7 +150,7 @@ LIMIT 1", // Task is valid... list($tid, $userid, $type, $subj, $text, $created, $status, $adminId) = SQL_FETCHROW($result_task); - if ($adminId == 0) { + if ($adminId == '0') { // Assgin current admin to unassgigned task SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_task_system` SET `assigned_admin`=%s WHERE `id`=%s LIMIT 1", array(getCurrentAdminId(), bigintval($tid)), __FILE__, __LINE__); @@ -176,7 +176,7 @@ LIMIT 1", } else { // Invalid userid, so log and zero it logDebugMessage(__FUNCTION__, __LINE__, 'Invalid userid=' . $userid . ' -> not found!'); - $userid = 0; + $userid = '0'; } } // END - if @@ -279,7 +279,7 @@ LIMIT 1", array($ext_name), __FILE__, __LINE__); $lines = SQL_NUMROWS($result_lines); SQL_FREERESULT($result_lines); - if ($lines == 0) { + if ($lines == '0') { // New extension found $OUT .= loadTemplate('admin_ext_reg_form', true, array( 'id' => bigintval($id),