]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-manager.php
Fixes for a lot bug tickets. (Sorry for lame comment)
[mailer.git] / inc / mysql-manager.php
index 4f2c89ca681ed7aa7032b0e7fa4fcceafeb02a6e..084bb5ad277f632b68ddeabb5a4a1c8dbc211392 100644 (file)
@@ -1457,7 +1457,7 @@ function GET_ADMIN_DEFAULT_ACL ($aid) {
        return $ret;
 }
 //
-function ADD_OPTION_LINES($table, $id, $name, $default="",$special="",$where="") {
+function ADD_OPTION_LINES ($table, $id, $name, $default="", $special="", $where="") {
        $ret = "";
        if ($table == "/ARRAY/") {
                // Selection from array
@@ -1476,7 +1476,7 @@ function ADD_OPTION_LINES($table, $id, $name, $default="",$special="",$where="")
                $ORDER = $name.$SPEC;
                if ($table == "country") $ORDER = $special;
                $result = SQL_QUERY_ESC("SELECT %s, %s".$SPEC." FROM "._MYSQL_PREFIX."_%s ".$where." ORDER BY %s",
-                array($id, $ORDER, $table, $name), __FILE__, __LINE__);
+                       array($id, $ORDER, $table, $name), __FILE__, __LINE__);
                if (SQL_NUMROWS($result) > 0) {
                        // Found data so add them as OPTION lines: $id is the value and $name is the "name" of the option
                        while (list($value, $title, $add) = SQL_FETCHROW($result)) {