#100 - fix script

This commit is contained in:
isUnknown 2025-01-20 14:48:17 +01:00
parent 0eb0bb0e7d
commit 1becf642f6

View file

@ -16,7 +16,7 @@ foreach (glob($directory . '/*/index.php') as $filePath) {
break;
}
if ($newRoleValue) {
if (isset($newRoleValue)) {
$data['role'] = $newRoleValue;
$exportedData = "<?php\n\nreturn " . var_export($data, true) . ";\n";