mirror of
https://github.com/gtbu/Typesetter-5.3-p8.git
synced 2024-11-21 21:59:12 +01:00
replaced or with ??
This commit is contained in:
parent
b9d07928ef
commit
2f2ab4abd4
2 changed files with 2 additions and 2 deletions
|
@ -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){
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue