]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-admins_add.php
New naming convention applied to many functions, see #118 for details
[mailer.git] / inc / modules / admin / what-admins_add.php
index 4339a81c380da94cc03b5b21c62e6965b010ea21..139bbaf5bec28e43ff5150753c484c95f3911e6e 100644 (file)
@@ -50,7 +50,7 @@ $FORM = true;
 
 if ((REQUEST_ISSET_POST(('add'))) && (REQUEST_ISSET_POST(('login'))) && (REQUEST_ISSET_POST(('email'))) && (REQUEST_ISSET_POST(('pass1'))) && (REQUEST_ISSET_POST(('pass2'))) && (REQUEST_POST('pass1') == REQUEST_POST('pass2'))) {
        // Add admin when not added already
-       if (REGISTER_ADMIN(REQUEST_POST('login'), generateHash(REQUEST_POST('pass1')), REQUEST_POST('email')) == "done") {
+       if (REGISTER_ADMIN(REQUEST_POST('login'), generateHash(REQUEST_POST('pass1')), REQUEST_POST('email')) == 'done') {
                // Do not ouput any form!
                $FORM = false;