diff options
author | Simon Rettberg | 2022-09-12 14:11:34 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-09-12 14:11:34 +0200 |
commit | d81b97e84ae5b2c51c8291633361eb5c5f5551e8 (patch) | |
tree | 47a14529c73e204b1a1db5a7f57b8344dd86940c /inc/property.inc.php | |
parent | [syslog] Minor refactor (diff) | |
download | slx-admin-d81b97e84ae5b2c51c8291633361eb5c5f5551e8.tar.gz slx-admin-d81b97e84ae5b2c51c8291633361eb5c5f5551e8.tar.xz slx-admin-d81b97e84ae5b2c51c8291633361eb5c5f5551e8.zip |
[inc/Property] Fix warning about type conversion
Diffstat (limited to 'inc/property.inc.php')
-rw-r--r-- | inc/property.inc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/property.inc.php b/inc/property.inc.php index e17473f6..dd72c187 100644 --- a/inc/property.inc.php +++ b/inc/property.inc.php @@ -19,6 +19,7 @@ class Property public static function get(string $key, $default = false) { if (self::$cache === false) { + self::$cache = []; $NOW = time(); $res = Database::simpleQuery("SELECT name, dateline, value FROM property"); foreach ($res as $row) { |