aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-08 20:58:58 -0800
committerfriendica <info@friendica.com>2014-01-08 20:58:58 -0800
commit3c477ea8d68f4d92541919490511fb4199364272 (patch)
treecab0a5772f34308574c9c4e8a039ffcadf072cc2
parent6acff72d79be10c33ef00443ea1f6302a57a68d8 (diff)
downloadvolse-hubzilla-3c477ea8d68f4d92541919490511fb4199364272.tar.gz
volse-hubzilla-3c477ea8d68f4d92541919490511fb4199364272.tar.bz2
volse-hubzilla-3c477ea8d68f4d92541919490511fb4199364272.zip
attachment issue
-rw-r--r--mod/attach.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/attach.php b/mod/attach.php
index 2c4f06c00..7371f0367 100644
--- a/mod/attach.php
+++ b/mod/attach.php
@@ -18,7 +18,7 @@ function attach_init(&$a) {
}
$c = q("select channel_address from channel where channel_id = %d limit 1",
- intval($r[0]['uid'])
+ intval($r['data']['uid'])
);
if(! $c)