mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-09 00:13:58 +09:00
fix to show settings when not empty && instead of ||
This commit is contained in:
@@ -58,8 +58,9 @@ class Setting extends Model
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'select':
|
case 'select':
|
||||||
if(!empty($this->value) || $this->value !== 'none') {
|
if(!empty($this->value) && $this->value !== 'none') {
|
||||||
$options = (array)json_decode($this->options);
|
$options = (array)json_decode($this->options);
|
||||||
|
d
|
||||||
$value = $options[$this->value];
|
$value = $options[$this->value];
|
||||||
} else {
|
} else {
|
||||||
$value = '- not set -';
|
$value = '- not set -';
|
||||||
|
|||||||
Reference in New Issue
Block a user