aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-18 22:25:41 -0700
committerMario Vavti <mario@mariovavti.com>2017-06-19 16:09:07 +0200
commit1472f85b162ea6f1ab9e19e94b86fc4a8ef074be (patch)
tree5bcfc4803bb4305790d7cce894cc96a072e86840 /include/items.php
parent3d6255ae24310a935caf4e74729aa7165f94aeda (diff)
downloadvolse-hubzilla-1472f85b162ea6f1ab9e19e94b86fc4a8ef074be.tar.gz
volse-hubzilla-1472f85b162ea6f1ab9e19e94b86fc4a8ef074be.tar.bz2
volse-hubzilla-1472f85b162ea6f1ab9e19e94b86fc4a8ef074be.zip
allow moderated comments like wordpress if permissions are compatible
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index fa61d71de..4a028be6e 100755
--- a/include/items.php
+++ b/include/items.php
@@ -938,7 +938,7 @@ function import_author_unknown($x) {
$photos = import_xchan_photo($x['photo']['src'],$x['url']);
if($photos) {
- $r = q("update xchan set xchan_photo_date = '%s', xchan_photo_l = '%s', xchan_photo_m = '%s', xchan_photo_s = '%s', xchan_photo_mimetype = '%s' where xchan_url = '%s' and xchan_network = 'unknown'",
+ $r = q("update xchan set xchan_photo_date = '%s', xchan_photo_l = '%s', xchan_photo_m = '%s', xchan_photo_s = '%s', xchan_photo_mimetype = '%s' where xchan_hash = '%s' and xchan_network = 'unknown'",
dbesc(datetime_convert()),
dbesc($photos[0]),
dbesc($photos[1]),