Skip to content

Commit

Permalink
[4.3] Template Media folder should never disappear (#40719)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrammatiko committed Jun 12, 2023
1 parent 165f176 commit 4efb936
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ public function getDirectoryTree($dir)
}
}

return $result;
return !empty($result) ? $result : ['.'];
}

/**
Expand Down

0 comments on commit 4efb936

Please sign in to comment.