Fix for #510: $a->poi wasn't set for tabs actions with commands, so connedit_clone wasn't executed.
This commit is contained in:
parent
c7437a9259
commit
a37a05ff20
@ -24,7 +24,7 @@ function connedit_init(&$a) {
|
|||||||
if(! local_user())
|
if(! local_user())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if((argc() == 2) && intval(argv(1))) {
|
if((argc() >= 2) && intval(argv(1))) {
|
||||||
$r = q("SELECT abook.*, xchan.*
|
$r = q("SELECT abook.*, xchan.*
|
||||||
FROM abook left join xchan on abook_xchan = xchan_hash
|
FROM abook left join xchan on abook_xchan = xchan_hash
|
||||||
WHERE abook_channel = %d and abook_id = %d LIMIT 1",
|
WHERE abook_channel = %d and abook_id = %d LIMIT 1",
|
||||||
|
Reference in New Issue
Block a user