aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-06-10 08:40:39 +0000
committerMario <mario@mariovavti.com>2024-06-10 08:40:39 +0000
commit43a2c21d8784ed0a5a4968edb91fed818fd993f7 (patch)
tree8116009a976533657a55f6d9b75d6fe7c43c7055
parent69862bc6df3ab0a32edbb90ff0e60ffedd03cc4e (diff)
downloadvolse-hubzilla-43a2c21d8784ed0a5a4968edb91fed818fd993f7.tar.gz
volse-hubzilla-43a2c21d8784ed0a5a4968edb91fed818fd993f7.tar.bz2
volse-hubzilla-43a2c21d8784ed0a5a4968edb91fed818fd993f7.zip
fix updated not supported in wrapper function
-rw-r--r--Zotlabs/Lib/Libsync.php2
-rw-r--r--include/config.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Lib/Libsync.php b/Zotlabs/Lib/Libsync.php
index e68fd53f1..a7e33ba6b 100644
--- a/Zotlabs/Lib/Libsync.php
+++ b/Zotlabs/Lib/Libsync.php
@@ -267,7 +267,7 @@ class Libsync {
}
if ($cat !== 'hz_delpconfig') {
- set_pconfig($channel['channel_id'],$cat,$k,$v,$pconfig_updated[$k]);
+ set_pconfig($channel['channel_id'], $cat, $k, $v, $pconfig_updated[$k]);
}
}
}
diff --git a/include/config.php b/include/config.php
index 674d5afe4..4dd40eccf 100644
--- a/include/config.php
+++ b/include/config.php
@@ -120,8 +120,8 @@ function get_pconfig($uid, $family, $key, $default = false) {
return Zlib\PConfig::Get($uid,$family,$key,$default);
}
-function set_pconfig($uid, $family, $key, $value) {
- return Zlib\PConfig::Set($uid,$family,$key,$value);
+function set_pconfig($uid, $family, $key, $value, $updated = NULL) {
+ return Zlib\PConfig::Set($uid, $family, $key, $value, $updated);
}
function del_pconfig($uid, $family, $key, $updated = NULL) {