aboutsummaryrefslogtreecommitdiffstats
path: root/mod/redir.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-05-21 22:54:39 -0700
committerfriendica <info@friendica.com>2012-05-21 22:54:39 -0700
commita16382529135a76c5afaf4d4189856734a8e7f58 (patch)
treed18813f3fa56c23738385aa627ac5b4da38cea61 /mod/redir.php
parent9ca3ac6e61ff57a2bc615b133a64b0a7f66b3c41 (diff)
downloadvolse-hubzilla-a16382529135a76c5afaf4d4189856734a8e7f58.tar.gz
volse-hubzilla-a16382529135a76c5afaf4d4189856734a8e7f58.tar.bz2
volse-hubzilla-a16382529135a76c5afaf4d4189856734a8e7f58.zip
redir links for permission controlled attachments
Diffstat (limited to 'mod/redir.php')
-rw-r--r--mod/redir.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/redir.php b/mod/redir.php
index 9223e5483..0f7b5cc23 100644
--- a/mod/redir.php
+++ b/mod/redir.php
@@ -6,7 +6,7 @@ function redir_init(&$a) {
// traditional DFRN
- if(local_user() && $a->argc == 2 && intval($a->argv[1])) {
+ if(local_user() && $a->argc > 1 && intval($a->argv[1])) {
$cid = $a->argv[1];