]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/overview-inc.php
New function isValidUserid() introduced, more rewrites to EL:
[mailer.git] / inc / modules / admin / overview-inc.php
index 81719aadbe6b05380daabcc7400e425ca1447bea..0b83fa29231549059ffe7201fbbd0dc519e8350b 100644 (file)
@@ -450,7 +450,7 @@ LIMIT 1",
                        // Get task type
                        $content['task_type_msg'] = getMessage('ADMIN_TASK_IS_'.strtoupper($content['task_type']).'');
 
-                       if ($content['userid'] > 0) {
+                       if (isValidUserId($content['userid'])) {
                                // Member found otherwise it's a system task
                                $content['userid'] = generateUserProfileLink($content['userid']);
                        } else {