Entire rewrite of mail part in app! Not kidding here...
[mailer.git] / inc / modules / admin / what-config_cats.php
index d42c6bd2e8acd682a9f81db7ee0f70d83a10d441..3f9584d921b7ff3fa2a0c21d7b4979cfa98d3743 100644 (file)
@@ -50,7 +50,7 @@ if (isset($_POST['add'])) {
         array(addslashes($_POST['catname'])), __FILE__, __LINE__);
        if (SQL_NUMROWS($result) == 0) {
                // Category does not exists, we simply add it...
-               $result = SQL_QUERY_ESC("INSERT INTO "._MYSQL_PREFIX."_cats (cat, visible, sort) VALUES ('%s', '%s', '%s')",
+               $result = SQL_QUERY_ESC("INSERT INTO "._MYSQL_PREFIX."_cats (cat, visible, sort) VALUES ('%s','%s','%s')",
                 array(addslashes($_POST['catname']), $_POST['visible'], bigintval($_POST['parent'] + 1)), __FILE__, __LINE__);
                $content = "<SPAN class=\"admin_done\">".CATEGORY_ADDED."</SPAN>";
        } else {