aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-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)