]> git.mxchange.org Git - mailer.git/commitdiff
Fix for the fix ... :-(
authorRoland Häder <roland@mxchange.org>
Mon, 28 Jun 2010 19:53:22 +0000 (19:53 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 28 Jun 2010 19:53:22 +0000 (19:53 +0000)
inc/modules/admin/what-email_archiv.php

index 978a0a71f63b693173847d4c1482611b5c90d27f..eba3a148f015dde1651526f3206f5435f38b6b00 100644 (file)
@@ -48,15 +48,18 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 // Add description as navigation point
 addMenuDescription('admin', __FILE__);
 
-// Check for maximum pages
-$result_maximum = SQL_QUERY("SELECT
+// Init SQL
+$sql = "SELECT
        `id`, `sender`, `subject`, `text`, `receivers`, `payment_id`, `data_type`, `timestamp`, `url`, `target_send`, `cat_id`
 FROM
        `{?_MYSQL_PREFIX?}_pool`
 WHERE
        `data_type`='SEND' OR `data_type`='DELETED'
 ORDER BY
-       `timestamp` DESC", __FILE__, __LINE__);
+       `timestamp` DESC";
+
+// Check for maximum pages
+$result_maximum = SQL_QUERY(, __FILE__, __LINE__);
 
 // Set offset an current page to default values
 if (!isGetRequestParameterSet('page'))   setGetRequestParameter('page'  , 1);