]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/refback_functions.php
More templates rewritten
[mailer.git] / inc / libs / refback_functions.php
index fdb97da005f2e2eb292f07a1f8598b26ba8d15c8..83aa8a9e3621b54ff20e26bc8ea6cf4db0690b8a 100644 (file)
@@ -267,7 +267,7 @@ function GET_USER_REFS ($uid, $level) {
        $ADD = "";
        $refs = array();
 
-       // Do we have nickname installed?
+       // Do we have nickname extension installed?
        if (EXT_IS_ACTIVE("nickname")) {
                $ADD = ", d.nickname";
        } // END - if
@@ -334,7 +334,7 @@ function REFBACK_CHANGE_MEMBER_PERCENTS ($id, $percents) {
                // No member!
                $status['message'] = MEMBER_REFBACK_ERROR_NO_MEMBER;
                return $status;
-       } elseif ("".$id."" != "".bigintval($id)."") {
+       } elseif ("".$id."" != "".($id + 0)."") {
                // No number!
                $status['message'] = MEMBER_REFBACK_ERROR_INVALID_ID_NUMBER;
                return $status;