aboutsummaryrefslogtreecommitdiffstats
path: root/mod/post.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-04 00:19:29 -0800
committerfriendica <info@friendica.com>2013-12-04 00:19:29 -0800
commitd8903f09f5a6d637b4258632eee16859373e1893 (patch)
treed00d8f6c5dd8032516a7577ac6b37ed6e1be22bc /mod/post.php
parent7187c493e16abc98a8e1ed53d63a3d93e63db4af (diff)
downloadvolse-hubzilla-d8903f09f5a6d637b4258632eee16859373e1893.tar.gz
volse-hubzilla-d8903f09f5a6d637b4258632eee16859373e1893.tar.bz2
volse-hubzilla-d8903f09f5a6d637b4258632eee16859373e1893.zip
include re-organisation and more doco, post_to_red fix ampersands in categories
Diffstat (limited to 'mod/post.php')
-rw-r--r--mod/post.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/post.php b/mod/post.php
index e65cb0968..627e13fa0 100644
--- a/mod/post.php
+++ b/mod/post.php
@@ -196,9 +196,9 @@ function post_init(&$a) {
} else {
logger('mod_zot: magic-auth failure - not authenticated: ' . $x[0]['xchan_addr']);
- q("update hubloc set hubloc_status = (hubloc_status | %d ) where hubloc_addr = '%s'",
+ q("update hubloc set hubloc_status = (hubloc_status | %d ) where hubloc_id = %d ",
intval(HUBLOC_RECEIVE_ERROR),
- dbesc($x[0]['xchan_addr'])
+ intval($x[0]['hubloc_id'])
);
}