replaced or with ??

This commit is contained in:
g7sim 2023-05-24 06:47:39 +02:00
parent b9d07928ef
commit 2f2ab4abd4
2 changed files with 2 additions and 2 deletions

View file

@ -1339,7 +1339,7 @@ class Edit extends \gp\admin\Layout{
echo '</tr>';
$extrasFolder = $dataDir . '/data/_extra';
$files = scandir($extrasFolder) or [];
$files = scandir($extrasFolder) ?? [];
asort($files);
foreach($files as $file){

View file

@ -1043,7 +1043,7 @@ namespace gp\tool{
//extra area include autocomplete
$extra_area_files = scandir($dataDir . '/data/_extra') or [];
$extra_area_files = scandir($dataDir . '/data/_extra') ?? [];
foreach($extra_area_files as $extra_area){
$extra_area = \gp\admin\Content\Extra::AreaExists($extra_area);