Add missing global

This commit is contained in:
Trevor Slocum 2013-04-15 19:03:37 -07:00
parent a5a93dd639
commit 4af3a83c51

View File

@ -552,6 +552,7 @@ EOF;
} }
function manageStatus() { function manageStatus() {
global $isadmin;
$threads = countThreads(); $threads = countThreads();
$bans = count(allBans()); $bans = count(allBans());
$info = $threads . ' ' . plural('thread', $threads) . ', ' . $bans . ' ' . plural('ban', $bans); $info = $threads . ' ' . plural('thread', $threads) . ', ' . $bans . ' ' . plural('ban', $bans);