]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-register.php
Code-style applied, surfbar URLs can now be edited
[mailer.git] / inc / modules / guest / what-register.php
index 2a984934ed76f55f841c5179e21414cd4e05a3d1..9b5d88cd0450f0523cd4f9628d789b9cd9692a9c 100644 (file)
@@ -127,7 +127,7 @@ if (isset($_POST['ok']))
        if (!IS_ADMIN())
        {
                // Do this check only when no admin is logged in
-               foreach ($_POST['cat'] as $id=>$answer)
+               foreach ($_POST['cat'] as $id => $answer)
                {
                        if ($answer == "Y") $cats++;
                }
@@ -281,7 +281,7 @@ array(
 
        // Write catgories
        if ((is_array($_POST['cat'])) && (count($_POST['cat']))) {
-               foreach ($_POST['cat'] as $cat=>$joined) {
+               foreach ($_POST['cat'] as $cat => $joined) {
                        if ($joined == "Y") {
                                // Insert category entry
                                $result = SQL_QUERY_ESC("INSERT INTO "._MYSQL_PREFIX."_user_cats (userid, cat_id) VALUES (%s, %s)",