summaryrefslogtreecommitdiff
path: root/classes/Pref_Prefs.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Pref_Prefs.php')
-rw-r--r--classes/Pref_Prefs.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/classes/Pref_Prefs.php b/classes/Pref_Prefs.php
index 5cbf3c6d1..2bd9ae0bd 100644
--- a/classes/Pref_Prefs.php
+++ b/classes/Pref_Prefs.php
@@ -1481,17 +1481,11 @@ class Pref_Prefs extends Handler_Protected {
}
private function _get_short_desc(string $pref_name): string {
- if (isset($this->pref_help[$pref_name][0])) {
- return $this->pref_help[$pref_name][0];
- }
- return "";
+ return $this->pref_help[$pref_name][0] ?? "";
}
private function _get_help_text(string $pref_name): string {
- if (isset($this->pref_help[$pref_name][1])) {
- return $this->pref_help[$pref_name][1];
- }
- return "";
+ return $this->pref_help[$pref_name][1] ?? "";
}
private function appPasswordList(): void {