aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/PConfig.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-03-03 12:39:41 +0000
committerMario <mario@mariovavti.com>2021-03-03 14:11:29 +0100
commit3d264f5a55f340e3c20c1181c8b4578abecf3f1c (patch)
tree6c5eba25568a65e7317588717df048042a45685a /Zotlabs/Lib/PConfig.php
parentfbb1d6aa41d9eb7a27b4a8bc79747ac0797db0c7 (diff)
downloadvolse-hubzilla-3d264f5a55f340e3c20c1181c8b4578abecf3f1c.tar.gz
volse-hubzilla-3d264f5a55f340e3c20c1181c8b4578abecf3f1c.tar.bz2
volse-hubzilla-3d264f5a55f340e3c20c1181c8b4578abecf3f1c.zip
php8: fix warnings during install procedure
(cherry picked from commit 48bae9d4219735bc44f4ee72228d19d3e6b9efc9)
Diffstat (limited to 'Zotlabs/Lib/PConfig.php')
-rw-r--r--Zotlabs/Lib/PConfig.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Lib/PConfig.php b/Zotlabs/Lib/PConfig.php
index c08c11e75..765131f0d 100644
--- a/Zotlabs/Lib/PConfig.php
+++ b/Zotlabs/Lib/PConfig.php
@@ -132,6 +132,7 @@ class PConfig {
// manage array value
$dbvalue = ((is_array($value)) ? serialize($value) : $value);
$dbvalue = ((is_bool($dbvalue)) ? intval($dbvalue) : $dbvalue);
+ $new = false;
$now = datetime_convert();
if (! $updated) {