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
$pool['unconfirmed'] = "<strong><a href=\"{?URL?}/modules.php?module=admin&what=list_unconfirmed&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
if ((isExtensionActive('bonus')) && ($WHO == getMessage('_ALL'))) {
// Check only if bonus extension is active
if (SQL_NUMROWS($result_bonus) > 0) outputHtml('<br /><br />');
- }
+ } // END - if
}
if ((isExtensionActive('bonus')) && ($WHO == getMessage('_ALL'))) {