]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-categories.php
A lot has been rewritten, ext-teams added, ext-forced continued:
[mailer.git] / inc / modules / member / what-categories.php
index dad195c7088d797efc1e84baa55b245430aca217..026a0e6a6fe7385e3370f3eacadf62541bcda3a4 100644 (file)
@@ -49,7 +49,7 @@ $whereStatement = " WHERE `visible`='Y'";
 if (isAdmin()) $whereStatement = '';
 
 // Get all categories
-$result = SQL_QUERY("SELECT `id`, `cat` FROM `{?_MYSQL_PREFIX?}_cats`".$whereStatement." ORDER BY `sort` ASC", __FILE__, __LINE__);
+$result = SQL_QUERY("SELECT `id`,`cat` FROM `{?_MYSQL_PREFIX?}_cats`".$whereStatement." ORDER BY `sort` ASC", __FILE__, __LINE__);
 
 // Do we have entries?
 if (!SQL_HASZERONUMS($result)) {
@@ -86,7 +86,7 @@ if (!SQL_HASZERONUMS($result)) {
                                        //* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'categoryId='.$categoryId.',joined='.$joined.',getMemberId()='.getMemberId().',SQL_HASZERONUMS()='.intval(SQL_HASZERONUMS($result_user)));
 
                                        if (SQL_HASZERONUMS($result_user)) {
-                                               $sql = "INSERT INTO `{?_MYSQL_PREFIX?}_user_cats` (`userid`, `cat_id`) VALUES (%s,%s)";
+                                               $sql = "INSERT INTO `{?_MYSQL_PREFIX?}_user_cats` (`userid`,`cat_id`) VALUES (%s,%s)";
                                        } // END - if
 
                                        // Free memory