Browse Source

Small change

pull/11/head
Chris 7 years ago
parent
commit
20e029a3ff
  1. 2
      app/Setting.php

2
app/Setting.php

@ -172,7 +172,7 @@ class Setting extends Model
$options = (array)json_decode($search_provider->options); $options = (array)json_decode($search_provider->options);
$name = $options[$search_provider->value]; $name = $options[$search_provider->value];
if((bool)$homepage_search && (bool)$search_provider->value) { if((bool)$search_provider->value) {
switch($search_provider->value) { switch($search_provider->value) {
case 'google': case 'google':
$url = 'https://www.google.com/search'; $url = 'https://www.google.com/search';

Loading…
Cancel
Save