require_once $CFG->root . 'lib/db_factory.php';
require_once $CFG->root . 'lib/utils.inc.php';
- $util = Utils::getInstance();
+ $util = new Utils;
$loggedIn = $util->isLoggedIn();
if ($loggedIn && isset($_GET['id'])) {
$util->setHeading('Spam Report');
} else {
$bayes['total'] = "<tr><td class=\"label\">TOTAL</td><td class=\"value\">-</td></tr>";
}
- $plain = "?id=$id&format=plain";
- $html = "?id=$id&format=html";
+ $plain = "?id=$id&format=plain";
+ $html = "?id=$id&format=html";
echo '<p class="ruler">Message ID : ' . $mail->mail_id . '</p>';
echo '<table class="button-menu">';
echo '<tr class="button-row">';