Skip to content

Commit

Permalink
테마에서 editable이 정의되지 않았을 때 에러가 발생하지 않도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
woongbin committed Jun 24, 2019
1 parent ed72fac commit 1cf2572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/Xpressengine/Theme/GenericTheme.php
Expand Up @@ -78,7 +78,7 @@ public function render()
public function getEditFiles() public function getEditFiles()
{ {
$path = base_path($this->getPath()); $path = base_path($this->getPath());
$editable = $this->info('editable'); $editable = $this->info('editable', []);


$files = []; $files = [];
foreach ($editable as $file) { foreach ($editable as $file) {
Expand Down

0 comments on commit 1cf2572

Please sign in to comment.