]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/action-themes.php
notice fixed
[mailer.git] / inc / modules / member / action-themes.php
index 5304394aa121d3b897f132a214803bfbbb63d49c..c9cba3d7fa3b2a69848dd7111a59c9a4d99a4ad6 100644 (file)
@@ -39,13 +39,13 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
 }
  elseif (!IS_LOGGED_IN())
 {
-       LOAD_URL(URL."/modules.php?module=index");
+       LOAD_URL("modules.php?module=index");
 }
 
 // Load all active designs (or all if admin)
-$WHERE = ""; $OUT = "";
-if (!IS_ADMIN()) $WHERE = " WHERE theme_active='Y'";
-$result_themes = SQL_QUERY("SELECT theme_path FROM "._MYSQL_PREFIX."_themes".$WHERE, __FILE__, __LINE__);
+$whereStatement = ""; $OUT = "";
+if (!IS_ADMIN()) $whereStatement = " WHERE theme_active='Y'";
+$result_themes = SQL_QUERY("SELECT theme_path FROM "._MYSQL_PREFIX."_themes".$whereStatement, __FILE__, __LINE__);
 $num_themes = SQL_NUMROWS($result_themes);
 
 if ($num_themes > 1)