mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-30 23:16:49 +01:00
Fix undefined variable
This commit is contained in:
@@ -299,6 +299,7 @@ function getDatabasePages($withHidden = false): array
|
|||||||
$q->isPublic();
|
$q->isPublic();
|
||||||
})->get('name');
|
})->get('name');
|
||||||
|
|
||||||
|
$ret = [];
|
||||||
foreach($pages as $page) {
|
foreach($pages as $page) {
|
||||||
$ret[] = $page->name;
|
$ret[] = $page->name;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user