diff options
author | zotlabs <mike@macgirvin.com> | 2016-11-08 05:39:49 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-08 05:39:49 +1100 |
commit | 66f74379659be970bb28d1d2e8efcdbce13637f3 (patch) | |
tree | ceda3650ba34b194978d6baac988b98ba34fb778 | |
parent | 66c07a8b339e2511e4830e2862e64a33426037d7 (diff) | |
parent | cb32640f707700e9ed48c3b3d60cf1cfc53e7582 (diff) | |
download | volse-hubzilla-66f74379659be970bb28d1d2e8efcdbce13637f3.tar.gz volse-hubzilla-66f74379659be970bb28d1d2e8efcdbce13637f3.tar.bz2 volse-hubzilla-66f74379659be970bb28d1d2e8efcdbce13637f3.zip |
Merge pull request #580 from zzottel/dev
fix a fatal error with incorrect DB object access
-rw-r--r-- | include/zot.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/zot.php b/include/zot.php index 6b225912d..5c9fb4e82 100644 --- a/include/zot.php +++ b/include/zot.php @@ -4174,7 +4174,7 @@ function update_hub_connected($hub,$sitekey = '') { intval($hub['hubloc_id']), dbesc($sitekey) ); - if(intval($r[0]['hubloc_orphancheck'])) { + if(intval($hub['hubloc_orphancheck'])) { q("update hubloc set hubloc_orhpancheck = 0 where hubloc_id = %d and hubloc_sitekey = '%s' ", intval($hub['hubloc_id']), dbesc($sitekey) @@ -4538,4 +4538,4 @@ function zot_reply_notify($data) { $ret['success'] = true; json_return_and_die($ret); -}
\ No newline at end of file +} |