X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fregister_functions.php;h=d64d8273b32e86895cc9060e0a6234d635e1f413;hb=9b27fd714bd5db5ca84ec1bd019c7614441f504b;hp=3c4d42e6f8c03bf32c3afb42a4ae71500f664211;hpb=5ef6ed7373ae85e5635e39e2a0adf9496a8add05;p=mailer.git diff --git a/inc/libs/register_functions.php b/inc/libs/register_functions.php index 3c4d42e6f8..d64d8273b3 100644 --- a/inc/libs/register_functions.php +++ b/inc/libs/register_functions.php @@ -98,7 +98,7 @@ function REGISTER_OUTPUT_REQUIRE_CHECK(&$array) $array[$name] = ""; $eval = "\$OUT = REGISTER_".strtoupper($name)."_REQUIRED;"; eval($eval); - OUTPUT_HTML("".$OUT."

"); + OUTPUT_HTML("".$OUT."

"); } } @@ -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