mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-07 16:24:43 +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
|
// Prepare list of all banned visitors
|
||||||
|
$blocked_list = array();
|
||||||
foreach (Ban::all() as $ban) {
|
foreach (Ban::all() as $ban) {
|
||||||
$blocked_list[] = array(
|
$blocked_list[] = array(
|
||||||
'banid' => $ban->id,
|
'banid' => $ban->id,
|
||||||
|
Loading…
Reference in New Issue
Block a user