Fix for previous commit
authorRoland Häder <roland@mxchange.org>
Tue, 28 Jun 2011 07:18:30 +0000 (07:18 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 28 Jun 2011 07:18:30 +0000 (07:18 +0000)
inc/modules/admin/admin-inc.php

index c3eaf82143d1eeee9b2e8debd444d25e234ca9fe..df9eeac2674c86c6f08e0f03b12cc46d9daf16ff 100644 (file)
@@ -639,8 +639,10 @@ function generateUserProfileLink ($userid, $title = '', $what = 'list_user') {
 
                // Is it not empty, use it as title else the userid
                if (!empty($nick)) {
 
                // Is it not empty, use it as title else the userid
                if (!empty($nick)) {
-                       $title = $nick . '(' . $userid . ')'; else $title = $userid;
-               } // END - if
+                       $title = $nick . '(' . $userid . ')';
+               } else {
+                       $title = $userid;
+               }
        }
 
        // Return link
        }
 
        // Return link