aboutsummaryrefslogtreecommitdiffstats
path: root/mod/connedit.php
diff options
context:
space:
mode:
authorjeroenpraat <jeroenpraat@xs4all.nl>2014-07-02 13:20:08 +0000
committerjeroenpraat <jeroenpraat@xs4all.nl>2014-07-02 13:20:08 +0000
commit06935e96eb48a63d37bc127255390fbe8b0d9a23 (patch)
treec0ea4cae9e77ed3f3565950422e2f03f0898f6b9 /mod/connedit.php
parent42c9a67deeb1f80feee079096802e8524ee28d89 (diff)
parent409c767ba12cc268538dd0f09afc7cf77e80ada9 (diff)
downloadvolse-hubzilla-06935e96eb48a63d37bc127255390fbe8b0d9a23.tar.gz
volse-hubzilla-06935e96eb48a63d37bc127255390fbe8b0d9a23.tar.bz2
volse-hubzilla-06935e96eb48a63d37bc127255390fbe8b0d9a23.zip
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'mod/connedit.php')
-rw-r--r--mod/connedit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/connedit.php b/mod/connedit.php
index 61bb62766..b9f0299e2 100644
--- a/mod/connedit.php
+++ b/mod/connedit.php
@@ -24,7 +24,7 @@ function connedit_init(&$a) {
if(! local_user())
return;
- if((argc() == 2) && intval(argv(1))) {
+ if((argc() >= 2) && intval(argv(1))) {
$r = q("SELECT abook.*, xchan.*
FROM abook left join xchan on abook_xchan = xchan_hash
WHERE abook_channel = %d and abook_id = %d LIMIT 1",