]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_surfbar_actions.php
Fixes for 'empty version'
[mailer.git] / inc / modules / admin / what-list_surfbar_actions.php
index a715f5548f3b36cd7a8b65707126d77fe6ceb9ba..184ac2a9b2c62e6959d8a911d7a82be6dbe1bbdd 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 10/12/2008 *
+ * Mailer v0.2.1-FINAL                                Start: 10/12/2008 *
  * ================                             Last change: 10/12/2008 *
  *                                                                      *
  * -------------------------------------------------------------------- *
@@ -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]
 ?>