Notice fixed, email navi now shown if on 2+ page
[mailer.git] / inc / modules / admin / what-email_details.php
index 3971bb56eda85cfc445f1d86a92d79b1ab27aa86..41dc91d065f72b6303f2902ac952671c37c2dafc 100644 (file)
@@ -163,6 +163,7 @@ if (SQL_NUMROWS($result_list) > 0) {
        SQL_FREERESULT($result_list);
 
        // Add navigation (with change box and colspan=3)
+       $content['nav'] = "";
        if ($PAGES > 1) $content['nav'] = ADD_EMAIL_NAV($PAGES, $_CONFIG['mails_page'], false, "3", true);
 
        // Prepare content
@@ -211,6 +212,7 @@ if ((EXT_IS_ACTIVE("bonus")) && ($WHO == _ALL)) {
                }
 
                // Add navigation (without change box but with colspan=3)
+               $content['nav'] = "";
                if ($PAGES > 1) $content['nav'] = ADD_EMAIL_NAV($PAGES, $_CONFIG['mails_page'], false, "3", true);
 
                // Prepare content