diff options
author | M.Dent <dentm42@dm42.net> | 2018-11-01 20:23:22 -0400 |
---|---|---|
committer | M.Dent <dentm42@dm42.net> | 2018-11-01 20:23:22 -0400 |
commit | 346a4f593332009014fc8b3595bd56c6ca9ff9b5 (patch) | |
tree | ddced8bbb10ffb79bd8055bf0e2a74ec1682f69a /include | |
parent | 0060f88c4599c5cda1c6d5a7f6eb345a496e382f (diff) | |
download | volse-hubzilla-346a4f593332009014fc8b3595bd56c6ca9ff9b5.tar.gz volse-hubzilla-346a4f593332009014fc8b3595bd56c6ca9ff9b5.tar.bz2 volse-hubzilla-346a4f593332009014fc8b3595bd56c6ca9ff9b5.zip |
strpos needs to test with ===0 not ==0
Diffstat (limited to 'include')
-rw-r--r-- | include/zot.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/zot.php b/include/zot.php index a5202d01b..49fc89e33 100644 --- a/include/zot.php +++ b/include/zot.php @@ -3513,7 +3513,7 @@ function process_channel_sync_delivery($sender, $arr, $deliveries) { foreach($arr['config'][$cat] as $k => $v) { - if (strpos($k,'pcfgud:')==0) { + if (strpos($k,'pcfgud:')===0) { $realk = substr($k,7); $pconfig_updated[$realk] = $v; @@ -3521,9 +3521,9 @@ function process_channel_sync_delivery($sender, $arr, $deliveries) { } - if (strpos($k,'pcfgdel:')==0) { + if (strpos($k,'pcfgdel:')===0) { $realk = substr($k,8); - $pconfig_del[$realk] = $v; + $pconfig_del[$realk] = datetime_convert(); unset($arr['config'][$cat][$k]); } } |