Old config.php is now automatically updated to new config-local.php format, several...
[mailer.git] / inc / libs / register_functions.php
index ceab0b90fec9ab015570c09f3a792c6c074e5ec3..3e7d980cf3de366f3c809b6cf329ee874b16d497 100644 (file)
@@ -45,7 +45,7 @@ if (!defined('__SECURITY')) {
 //
 function registerMustFillout () {
        $result = SQL_QUERY("SELECT field_name, field_required FROM `{!_MYSQL_PREFIX!}_must_register` ORDER BY `id`",
-               __FUNCTION__, __LINE__);
+       __FUNCTION__, __LINE__);
 
        while ($content = SQL_FETCHARRAY($result)) {
                $value = '';
@@ -71,7 +71,7 @@ function REGISTER_CHECK_REQUIRED_FIELDS (&$array) {
        $ret = false;
        foreach ($array as $key => $value) {
                $result = SQL_QUERY("SELECT field_required FROM `{!_MYSQL_PREFIX!}_must_register` WHERE field_name='".$key."' LIMIT 1",
-                       __FUNCTION__, __LINE__);
+               __FUNCTION__, __LINE__);
                if (SQL_NUMROWS($result) == 1) {
                        // "Must-line" found
                        list($chk) = SQL_FETCHROW($result);
@@ -123,7 +123,7 @@ function registerGenerateCategoryTable ($mode, $return=false) {
 
        // Look for categories
        $result = SQL_QUERY("SELECT `id`, `cat`, `visible` FROM `{!_MYSQL_PREFIX!}_cats` ".$AND." ORDER BY `sort` ASC",
-               __FUNCTION__, __LINE__);
+       __FUNCTION__, __LINE__);
 
        if (SQL_NUMROWS($result) > 0) {
                // List alle visible modules (or all to the admin)