]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/register_functions.php
- Long variables $HTTP_x_VARS rewritten to short $_x
[mailer.git] / inc / libs / register_functions.php
index 317bcea87b07775ef6a9d9f27ceb42f1395186ae..d64d8273b32e86895cc9060e0a6234d635e1f413 100644 (file)
@@ -108,7 +108,7 @@ function REGISTER_OUTPUT_REQUIRE_CHECK(&$array)
 //
 function REGISTER_ADD_CATEGORY_TABLE ($MODE, $return=false)
 {
-       global $_POST, $CONFIG;
+       global $_POST, $_CONFIG;
        $OUT = "";
 
        // Guests are mostly not interested in how many members has
@@ -134,13 +134,13 @@ function REGISTER_ADD_CATEGORY_TABLE ($MODE, $return=false)
                                'id'    => $id,
                        );
 
-                       if (($_POST['cat'][$id] == 'Y') || (($CONFIG['register_default'] == 'Y') && (empty($_POST['cat'][$id]))))
+                       if (($_POST['cat'][$id] == 'Y') || (($_CONFIG['register_default'] == 'Y') && (empty($_POST['cat'][$id]))))
                        {
-                               $content['def_y'] = " checked";
+                               $content['def_y'] = ' checked';
                        }
                         else
                        {
-                               $content['def_n'] = " checked";
+                               $content['def_n'] = ' checked';
                        }
 
                        // Load template and switch color