diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-11-15 17:28:45 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-11-15 17:28:45 -0800 |
commit | 1029939f5622d03e3efad297476be14a2313169c (patch) | |
tree | 36970c92e52694127503c5745581c495199206c8 /include/zot.php | |
parent | dba38821bc5f3ad9b3a8f4f614d651e98f0b5ec5 (diff) | |
download | volse-hubzilla-1029939f5622d03e3efad297476be14a2313169c.tar.gz volse-hubzilla-1029939f5622d03e3efad297476be14a2313169c.tar.bz2 volse-hubzilla-1029939f5622d03e3efad297476be14a2313169c.zip |
issues connecting to local forum
Diffstat (limited to 'include/zot.php')
-rw-r--r-- | include/zot.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/zot.php b/include/zot.php index d5d68f72c..0a1a8ee51 100644 --- a/include/zot.php +++ b/include/zot.php @@ -745,8 +745,8 @@ function import_xchan($arr,$ud_flags = UPDATE_FLAGS_UPDATED, $ud_arr = null) { || ($r[0]['xchan_follow'] != $arr['follow_url']) || ($r[0]['xchan_connpage'] != $arr['connect_url']) || ($r[0]['xchan_url'] != $arr['url']) - || $hidden_changed || adult_changed || deleted_changed || $pubforum_changed ) { - $r = q("update xchan set xchan_name = '%s', xchan_name_date = '%s', xchan_connurl = '%s', xchan_follow = '%s', + || $hidden_changed || $adult_changed || $deleted_changed || $pubforum_changed ) { + $rup = q("update xchan set xchan_name = '%s', xchan_name_date = '%s', xchan_connurl = '%s', xchan_follow = '%s', xchan_connpage = '%s', xchan_hidden = %d, xchan_selfcensored = %d, xchan_deleted = %d, xchan_pubforum = %d, xchan_addr = '%s', xchan_url = '%s' where xchan_hash = '%s'", dbesc(($arr['name']) ? $arr['name'] : '-'), @@ -763,8 +763,8 @@ function import_xchan($arr,$ud_flags = UPDATE_FLAGS_UPDATED, $ud_arr = null) { dbesc($xchan_hash) ); - logger('import_xchan: existing: ' . print_r($r[0],true), LOGGER_DATA); - logger('import_xchan: new: ' . print_r($arr,true), LOGGER_DATA); + logger('import_xchan: update: existing: ' . print_r($r[0],true), LOGGER_DATA); + logger('import_xchan: update: new: ' . print_r($arr,true), LOGGER_DATA); $what .= 'xchan '; $changed = true; } |