A lot has been rewritten, ext-teams added, ext-forced continued:
[mailer.git] / inc / modules / admin / what-list_cats.php
index 73282a156468fcd838905735dc1185a511d636de..d17404da55a384594bba010ef8eea1a7aa62c16b 100644 (file)
@@ -55,7 +55,7 @@ if (isGetRequestParameterSet('userid')) {
                $content['email']  = '<a href="' . generateEmailLink($content['email'], 'user_data') . '">{%pipe,translateGender=' . $content['gender'] . '%} ' . $content['surname'] . ' ' . $content['family'] . '</a>';
 
                // Ok, list categories of this user
-               $result_cats = SQL_QUERY("SELECT `id`, `cat` FROM `{?_MYSQL_PREFIX?}_cats` ORDER BY `sort` ASC", __FILE__, __LINE__);
+               $result_cats = SQL_QUERY("SELECT `id`,`cat` FROM `{?_MYSQL_PREFIX?}_cats` ORDER BY `sort` ASC", __FILE__, __LINE__);
 
                if (!SQL_HASZERONUMS($result_cats)) {
                        // List categories
@@ -76,8 +76,8 @@ if (isGetRequestParameterSet('userid')) {
                                } // END - if
 
                                // Add more elements
-                               $content['cnt'] = $count;
-                               $content['sel'] = $selection;
+                               $content['count'] = $count;
+                               $content['sel']   = $selection;
 
                                // Load row template and count up
                                $OUT .= loadTemplate('admin_list_user_cats_row', true, $content);