diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/classes/Table.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/classes/Table.php b/libraries/classes/Table.php index 3925b386a3..380e3966da 100644 --- a/libraries/classes/Table.php +++ b/libraries/classes/Table.php @@ -1867,7 +1867,7 @@ class Table implements Stringable */ public function getUiProp($property) { - if (! isset($this->uiprefs)) { + if (empty($this->uiprefs)) { $this->loadUiPrefs(); } @@ -1937,7 +1937,7 @@ class Table implements Stringable */ public function setUiProp($property, $value, $tableCreateTime = null) { - if (! isset($this->uiprefs)) { + if (empty($this->uiprefs)) { $this->loadUiPrefs(); } @@ -1984,7 +1984,7 @@ class Table implements Stringable */ public function removeUiProp($property) { - if (! isset($this->uiprefs)) { + if (empty($this->uiprefs)) { $this->loadUiPrefs(); } |