]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_task.php
New extension added, more EL-rewrites, naming-convention applied:
[mailer.git] / inc / modules / admin / what-list_task.php
index 206b4777e53303f51e0995b4b24fd3354a6742e3..97957c0b8bc0e36b824fc9844c81de862636bd63 100644 (file)
@@ -168,7 +168,7 @@ ORDER BY
                        } // END - switch
 
                        // Member assigned with task?
-                       if ($content['userid'] > 0) {
+                       if (isValidUserId($content['userid'])) {
                                // Member found otherwise it's a system task
                                $content['userid'] = generateUserProfileLink($content['userid']);
                        } else {
@@ -177,7 +177,7 @@ ORDER BY
                        }
 
                        // Prepare content
-                       // @TODO Rewritings: admin->assigned_admin,userid->userid,type->task_type_msg in template
+                       // @TODO Rewritings: admin->assigned_admin,type->task_type_msg in template
                        $content = merge_array($content, array(
                                'sw'      => $SW,
                                'admin'   => $content['assigned_admin'],