]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-email_details.php
Huge rewrite of default parameters, ext-network continued:
[mailer.git] / inc / modules / admin / what-email_details.php
index 4da39063aec863cef87bbd74c33d1eae9eef1d51..dd35fd9979ac405f937cf5c2e1e15cfc7684c5c0 100644 (file)
@@ -127,7 +127,7 @@ $result_list = SQL_QUERY($sql, __FILE__, __LINE__);
 if ((!empty($SQL2)) && ($WHO == getMessage('_ALL'))) $result_bonus = SQL_QUERY($SQL2, __FILE__, __LINE__);
 
 // Calculate pages
-$PAGES = 0;
+$PAGES = '0';
 if (isConfigEntrySet('mails_page')) {
        $PAGES = round(SQL_NUMROWS($result_normal) / getConfig('mails_page') + 0.3);
 } // END - if
@@ -155,7 +155,7 @@ if (SQL_NUMROWS($result_list) > 0) {
                        $pool['unconfirmed'] = "<strong><a href=\"{?URL?}/modules.php?module=admin&amp;what=list_unconfirmed&amp;mid=".$pool['id']."\">".$pool['unconfirmed']."</a></strong>";
                } elseif ($pool['unconfirmed'] < 0) {
                        // Sometimes rarely displayed minus values will be "fixed" to zero
-                       $pool['unconfirmed'] = 0;
+                       $pool['unconfirmed'] = '0';
                }
 
                // Prepare content