Removed pointless text
This commit is contained in:
parent
dd845f4c7e
commit
11ea39a22c
4
mod.php
4
mod.php
@ -113,9 +113,6 @@
|
||||
$query->bindValue(':limit', $config['mod']['recent_reports'], PDO::PARAM_INT);
|
||||
$query->execute() or error(db_error($query));
|
||||
|
||||
if($query->rowCount() < 1)
|
||||
$body = '(Empty.)';
|
||||
else {
|
||||
while($report = $query->fetch()) {
|
||||
$p_query = prepare(sprintf("SELECT * FROM `posts_%s` WHERE `id` = :id", $report['uri']));
|
||||
$p_query->bindValue(':id', $report['post'], PDO::PARAM_INT);
|
||||
@ -151,7 +148,6 @@
|
||||
'</div>';
|
||||
$body .= $po->build(true) . '<hr/>';
|
||||
}
|
||||
}
|
||||
|
||||
$query = query("SELECT COUNT(`id`) AS `count` FROM `reports`") or error(db_error());
|
||||
$count = $query->fetch();
|
||||
|
Loading…
Reference in New Issue
Block a user