]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/nickname_functions.php
Fix for missing array elements
[mailer.git] / inc / libs / nickname_functions.php
index a75b9d75b2b574968e1907d957578d2f0eda44da..aa7e715ead06b6f0c3544c77c6dd5e2372640e27 100644 (file)
@@ -18,6 +18,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -39,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Checks wether the nickname is active
 function isNicknameOrUserid ($useridNick) {
@@ -79,7 +80,7 @@ function getNickname ($userid) {
                $result = false;
 
                // Nickname or userid used?
-               if (''.round($userid).'' === ''.$userid.'') {
+               if ('' . round($userid) . '' === '' . $userid . '') {
                        // Userid given, so try to load user data
                        if (fetchUserData($userid)) {
                                // Load nickname from database