From 3c477ea8d68f4d92541919490511fb4199364272 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 8 Jan 2014 20:58:58 -0800 Subject: attachment issue --- mod/attach.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/attach.php') 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) -- cgit v1.2.3