Fix notice about undefined variable in BanController

This commit is contained in:
Dmitriy Simushev 2014-10-27 10:57:43 +00:00
parent 6cc94bcb33
commit 38769615ac

View File

@ -46,6 +46,7 @@ class BanController extends AbstractController
);
// Prepare list of all banned visitors
$blocked_list = array();
foreach (Ban::all() as $ban) {
$blocked_list[] = array(
'banid' => $ban->id,