aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-07-02 18:51:00 +1000
committerRedMatrix <info@friendica.com>2014-07-02 18:51:00 +1000
commitf949df6ec0ea01f1347d5eadf9756a8bd3c295b1 (patch)
tree702df9252346f0206274707fbd9f4b443127a448
parentc7437a9259dd293f21dd2687c96759c617ebdf88 (diff)
parenta37a05ff20d4ca6911c6b3722a5a89b7e94d0998 (diff)
downloadvolse-hubzilla-f949df6ec0ea01f1347d5eadf9756a8bd3c295b1.tar.gz
volse-hubzilla-f949df6ec0ea01f1347d5eadf9756a8bd3c295b1.tar.bz2
volse-hubzilla-f949df6ec0ea01f1347d5eadf9756a8bd3c295b1.zip
Merge pull request #524 from zzottel/master
Fix for #510: $a->poi wasn't set for tabs actions with commands, so conn...
-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",