Skip to content

Commit d07fb5e

Browse files
committed
fix undefined $view
1 parent 7b5bc24 commit d07fb5e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Item.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public function scopePinned($query)
5555
public function getConfigAttribute()
5656
{
5757
$output = null;
58+
$view = null;
5859
if(isset($this->description) && !empty($this->description)){
5960
$output = json_decode($this->description);
6061
if(isset($output->type) && !empty($output->type)) {

0 commit comments

Comments
 (0)