]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_surfbar_actions.php
Fixes for rallye, thanks to WernisMan
[mailer.git] / inc / modules / admin / what-list_surfbar_actions.php
index a715f5548f3b36cd7a8b65707126d77fe6ceb9ba..8ba7890dd83a744a21e5bd3304d1ad39b7ddacf0 100644 (file)
@@ -37,7 +37,7 @@
  ************************************************************************/
 
 // Some security stuff...
-if ((!defined('__SECURITY')) || (!is_admin())) {
+if ((!defined('__SECURITY')) || (!isAdmin())) {
        die();
 }
 
@@ -45,9 +45,13 @@ if ((!defined('__SECURITY')) || (!is_admin())) {
 addMenuDescription('admin', __FILE__);
 
 // Load all actions
-$result = SQL_QUERY("SELECT `id`,`status`,`action`,`new_status`
-FROM `{?_MYSQL_PREFIX?}_surfbar_actions`
-ORDER BY `status` ASC, `action` ASC", __FILE__, __LINE__);
+$result = SQL_QUERY("SELECT
+       `id`, `status`, `action`, `new_status`
+FROM
+       `{?_MYSQL_PREFIX?}_surfbar_actions`
+ORDER BY
+       `status` ASC,
+       `action` ASC", __FILE__, __LINE__);
 
 // Entries found?
 if (SQL_NUMROWS($result) > 0) {
@@ -87,5 +91,5 @@ if (SQL_NUMROWS($result) > 0) {
 // Free result
 SQL_FREERESULT($result);
 
-//
+// [EOF]
 ?>