diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-03-08 11:52:57 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-03-08 11:52:57 +0100 |
commit | 8ecdde6cb573ace776b472046388bb046dc59451 (patch) | |
tree | f568af943a17c3156adf2d34477cd424bc24bd94 /include/xchan.php | |
parent | 90fd323ac54619766feedf699e5f53fce04fc295 (diff) | |
parent | 5b3824917d591b27c4797971c8253ed67b41dc5a (diff) | |
download | volse-hubzilla-8ecdde6cb573ace776b472046388bb046dc59451.tar.gz volse-hubzilla-8ecdde6cb573ace776b472046388bb046dc59451.tar.bz2 volse-hubzilla-8ecdde6cb573ace776b472046388bb046dc59451.zip |
Merge branch '4.0RC'
Diffstat (limited to 'include/xchan.php')
-rw-r--r-- | include/xchan.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/xchan.php b/include/xchan.php index eb5f1b4a3..4cbfb42c5 100644 --- a/include/xchan.php +++ b/include/xchan.php @@ -5,6 +5,11 @@ use Zotlabs\Zot6\HTTPSig; function xchan_store_lowlevel($arr) { + if(! $arr['xchan_hash']) { + logger('No xchan_hash'); + return false; + } + $store = [ 'xchan_hash' => ((array_key_exists('xchan_hash',$arr)) ? $arr['xchan_hash'] : ''), 'xchan_guid' => ((array_key_exists('xchan_guid',$arr)) ? $arr['xchan_guid'] : ''), |