mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 13:24:41 +03:00
Fix notice about undefined variable in BanController
This commit is contained in:
parent
6cc94bcb33
commit
38769615ac
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user