#100 - fix script
This commit is contained in:
parent
0eb0bb0e7d
commit
1becf642f6
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ foreach (glob($directory . '/*/index.php') as $filePath) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($newRoleValue) {
|
if (isset($newRoleValue)) {
|
||||||
$data['role'] = $newRoleValue;
|
$data['role'] = $newRoleValue;
|
||||||
$exportedData = "<?php\n\nreturn " . var_export($data, true) . ";\n";
|
$exportedData = "<?php\n\nreturn " . var_export($data, true) . ";\n";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue