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;
|
||||
case 'select':
|
||||
if(!empty($this->value) || $this->value !== 'none') {
|
||||
if(!empty($this->value) && $this->value !== 'none') {
|
||||
$options = (array)json_decode($this->options);
|
||||
d
|
||||
$value = $options[$this->value];
|
||||
} else {
|
||||
$value = '- not set -';
|
||||
|
||||
Reference in New Issue
Block a user