]> git.mxchange.org Git - mailer.git/blobdiff - doubler.php
Members can now no longer enter 'NULL' as their nickname
[mailer.git] / doubler.php
index e62f1583c35295ff873af81ca964afc5989d1664..99ab704236745fcaf8d8ffaae1765a2bb6c17ad8 100644 (file)
@@ -67,7 +67,7 @@ if (isFormSent()) {
        // Begin with doubling process
        if ((isPostRequestParameterSet('userid')) && (isPostRequestParameterSet('password')) && (isPostRequestParameterSet('points'))) {
                // Probe for nickname extension and if a nickname was entered
-               if (isNickNameUsed(postRequestParameter('userid'))) {
+               if (isNicknameUsed(postRequestParameter('userid'))) {
                        // Nickname in URL, so load the id
                        fetchUserData(postRequestParameter('userid'), 'nickname');
                } else {
@@ -152,7 +152,7 @@ if (isFormSent()) {
                } elseif (postRequestParameter('points') > getConfig('doubler_max')) {
                        // Too much points entered
                        $content['message'] = '{--DOUBLER_FORM_POINTS_MAX--}';
-               } elseif (isNickNameUsed(postRequestParameter('userid'))) {
+               } elseif (isNicknameUsed(postRequestParameter('userid'))) {
                        // Cannot resolv nickname -> userid
                        $content['message'] = '{--DOUBLER_FORM_404_NICKNAME--}';
                } else {