Commit 14a18d27 authored by Darron Park's avatar Darron Park

Fix settings typo

parent 8835b40d
...@@ -17,6 +17,6 @@ class Setting extends Model ...@@ -17,6 +17,6 @@ class Setting extends Model
public function isMedia(): bool public function isMedia(): bool
{ {
$value = json_decode($this->plainValue, true); $value = json_decode($this->plainValue, true);
return is_array($value) && isset($value['media_single']); return is_array($value) && isset($value['medias_single']);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment