Fix for registration, logic went wrong...
authorRoland Häder <roland@mxchange.org>
Thu, 17 Dec 2009 22:07:27 +0000 (22:07 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 17 Dec 2009 22:07:27 +0000 (22:07 +0000)
inc/libs/register_functions.php

index 7cf34d9..817cc3f 100644 (file)
@@ -227,7 +227,7 @@ function isRegistrationDataComplete () {
        } // END - foreach
 
        // Enougth categories selected?
-       $isOkay = (($isOkay) && ($GLOBALS['register_selected_cats'] < getConfig('least_cats')));
+       $isOkay = (($isOkay) && ($GLOBALS['register_selected_cats'] >= getConfig('least_cats')));
 
        if ((postRequestParameter('email') != '!') && (getConfig('check_double_email') == 'Y')) {
                // Does the email address already exists in our database?