]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_cats.php
More rewrites/templates swapped out:
[mailer.git] / inc / modules / admin / what-list_cats.php
index 96f23cf4860a4718dbe7098bb7a6460b320f0d90..75b3895a0b1d794281c4b8ec8175dd31caca789b 100644 (file)
@@ -69,12 +69,13 @@ if (isGetRequestParameterSet('userid')) {
                                $content = merge_array($content, $row);
 
                                // Check user's selection
+                               // @TODO Rewrite this to countSum.....() function
                                $result_user = SQL_QUERY_ESC("SELECT `id` FROM `{?_MYSQL_PREFIX?}_user_cats` WHERE `userid`=%s AND `cat_id`=%s LIMIT 1",
                                        array(bigintval(getRequestParameter('userid')), bigintval($content['id'])), __FILE__, __LINE__);
 
                                // Set selection
-                               $selection = "<font color=\"#ee0000\">{--NO--}</div>";
-                               if (SQL_NUMROWS($result_user) == 1) $selection = "<font color=\"#00ee00\">{--YES--}</div>";
+                               $selection = '<font color="#ee0000">{--NO--}</div>';
+                               if (SQL_NUMROWS($result_user) == 1) $selection = '<font color="#00ee00">{--YES--}</div>';
 
                                // Add more elements
                                $content['sw']  = $SW;