|
|
@ -168,6 +168,7 @@ class Setting extends Model |
|
|
|
$output = ''; |
|
|
|
$homepage_search = self::fetch('homepage_search'); |
|
|
|
$search_provider = self::where('key', '=', 'search_provider')->first(); |
|
|
|
if((bool)$homepage_search && (bool)$search_provider) { |
|
|
|
|
|
|
|
$options = (array)json_decode($search_provider->options); |
|
|
|
$name = $options[$search_provider->value]; |
|
|
@ -195,6 +196,7 @@ class Setting extends Model |
|
|
|
$output .= Form::close(); |
|
|
|
$output .= '</div>'; |
|
|
|
} |
|
|
|
} |
|
|
|
return $output; |
|
|
|
} |
|
|
|
} |
|
|
|