Merge remote-tracking branch 'upstream/dev' into website-import
This commit is contained in:
commit
d504197a78
@ -222,7 +222,7 @@ class Acl extends \Zotlabs\Web\Controller {
|
|||||||
}
|
}
|
||||||
elseif($type == 'm') {
|
elseif($type == 'm') {
|
||||||
|
|
||||||
$r = q("SELECT xchan_hash as id, xchan_name as name, xchan_addr as nick, xchan_photo_s as micro, xchan_url as url
|
$r = q("SELECT xchan_hash as hash, xchan_name as name, xchan_addr as nick, xchan_photo_s as micro, xchan_url as url
|
||||||
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_their_perms = null) or (abook_their_perms & %d )>0)
|
WHERE abook_channel = %d and ( (abook_their_perms = null) or (abook_their_perms & %d )>0)
|
||||||
and xchan_deleted = 0
|
and xchan_deleted = 0
|
||||||
|
@ -28,7 +28,7 @@ class Finger {
|
|||||||
|
|
||||||
if (strpos($webbie,'@') === false) {
|
if (strpos($webbie,'@') === false) {
|
||||||
$address = $webbie;
|
$address = $webbie;
|
||||||
$host = App::get_hostname();
|
$host = \App::get_hostname();
|
||||||
} else {
|
} else {
|
||||||
$address = substr($webbie,0,strpos($webbie,'@'));
|
$address = substr($webbie,0,strpos($webbie,'@'));
|
||||||
$host = substr($webbie,strpos($webbie,'@')+1);
|
$host = substr($webbie,strpos($webbie,'@')+1);
|
||||||
@ -127,4 +127,4 @@ class Finger {
|
|||||||
return $x;
|
return $x;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user