added spaces + used x() the proper way
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
57b6e4c636
commit
33e938a837
1 changed files with 2 additions and 2 deletions
|
@ -608,7 +608,7 @@ function acl_lookup(App $a, $out_type = 'json') {
|
||||||
|
|
||||||
|
|
||||||
if (dbm::is_result($r)) {
|
if (dbm::is_result($r)) {
|
||||||
foreach ($r as $g){
|
foreach ($r as $g) {
|
||||||
$contacts[] = array(
|
$contacts[] = array(
|
||||||
'type' => 'c',
|
'type' => 'c',
|
||||||
'photo' => proxy_url($g['micro'], false, PROXY_SIZE_MICRO),
|
'photo' => proxy_url($g['micro'], false, PROXY_SIZE_MICRO),
|
||||||
|
@ -617,7 +617,7 @@ function acl_lookup(App $a, $out_type = 'json') {
|
||||||
'network' => $g['network'],
|
'network' => $g['network'],
|
||||||
'link' => $g['url'],
|
'link' => $g['url'],
|
||||||
'nick' => htmlentities(($g['attag']) ? $g['attag'] : $g['nick']),
|
'nick' => htmlentities(($g['attag']) ? $g['attag'] : $g['nick']),
|
||||||
'forum' => ((x($g['forum']) || x($g['prv'])) ? 1 : 0),
|
'forum' => ((x($g, 'forum') || x($g, 'prv')) ? 1 : 0),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue