@@ -40,7 +40,9 @@ |
||
40 | 40 | { |
41 | 41 | $mode = config('chief.preview-mode'); |
42 | 42 | |
43 | - if(!$mode || $mode == 'live') return false; |
|
43 | + if(!$mode || $mode == 'live') { |
|
44 | + return false; |
|
45 | + } |
|
44 | 46 | |
45 | 47 | return ($mode == 'preview'); |
46 | 48 | } |
@@ -70,7 +70,9 @@ |
||
70 | 70 | foreach ($this->children as $i => $child) { |
71 | 71 | |
72 | 72 | // Do not render offline relations |
73 | - if($child->relation->isOffline()) continue; |
|
73 | + if($child->relation->isOffline()) { |
|
74 | + continue; |
|
75 | + } |
|
74 | 76 | |
75 | 77 | if ($child instanceof StoredSetReference) { |
76 | 78 | $this->addSetToCollection($i, $child->toSet($this->parent)); |