]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/nickname_functions.php
Continued with ext-wernis:
[mailer.git] / inc / libs / nickname_functions.php
index 1e8084013b5bda6e6476dfc21549da236ffea576..91f88510898146220c297231c5e4a18efaf81cf9 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -43,7 +43,7 @@ if (!defined('__SECURITY')) {
 // Checks whether the nickname is active
 function isNicknameOrUserid ($useridNick) {
        // By default nothing is found...
-       $ret = false;
+       $ret = FALSE;
 
        // Found in cache?
        if (isset($GLOBALS['nickname_active'][$useridNick])) {
@@ -75,10 +75,10 @@ function getNickname ($userid) {
                $ret = $GLOBALS['nicknames'][$userid];
        } else {
                // Init result
-               $result = false;
+               $result = FALSE;
 
                // Nickname or userid used?
-               if ('' . bigintval($userid, true, false) . '' === '' . $userid . '') {
+               if ('' . bigintval($userid, TRUE, FALSE) . '' === '' . $userid . '') {
                        // Userid given, so try to load user data
                        if (fetchUserData($userid)) {
                                // Load nickname from database