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:
@@ -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 "";
|
||||||
|
|||||||
Reference in New Issue
Block a user