Fix $vocs not found

This commit is contained in:
slawkens 2024-12-07 13:52:52 +01:00
parent 2c42de688a
commit 06188be6e1

View File

@ -50,8 +50,8 @@ if (setting('core.online_outfit')) {
}
}
$vocs = [];
if (setting('core.online_vocations')) {
$vocs = array();
foreach($config['vocations'] as $id => $name) {
$vocs[$id] = 0;
}