summaryrefslogtreecommitdiffstats
path: root/inc/property.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/property.inc.php')
-rw-r--r--inc/property.inc.php1
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) {