1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 01:15:56 +00:00

Fix some 'isset' checks in 'classes/pref/prefs.php'.

This commit is contained in:
wn
2020-12-12 10:09:25 -06:00
parent 95d0cb4953
commit 8c4ca7c8ef

View File

@@ -1271,14 +1271,14 @@ class Pref_Prefs extends Handler_Protected {
} }
private function getShortDesc($pref_name) { private function getShortDesc($pref_name) {
if (isset($this->pref_help[$pref_name])) { if (isset($this->pref_help[$pref_name][0])) {
return $this->pref_help[$pref_name][0]; return $this->pref_help[$pref_name][0];
} }
return ""; return "";
} }
private function getHelpText($pref_name) { private function getHelpText($pref_name) {
if (isset($this->pref_help[$pref_name])) { if (isset($this->pref_help[$pref_name][1])) {
return $this->pref_help[$pref_name][1]; return $this->pref_help[$pref_name][1];
} }
return ""; return "";