add zids to all the personal app links
This commit is contained in:
parent
9365b7f632
commit
c6de9096fa
@ -139,6 +139,11 @@ function app_render($papp,$mode = 'view') {
|
|||||||
|
|
||||||
$papp['papp'] = papp_encode($papp);
|
$papp['papp'] = papp_encode($papp);
|
||||||
|
|
||||||
|
foreach($papp as $k => $v) {
|
||||||
|
if(strpos($v,'http') === 0 && $k != 'papp')
|
||||||
|
$papp[$k] = zid($v);
|
||||||
|
}
|
||||||
|
|
||||||
if(local_user()) {
|
if(local_user()) {
|
||||||
$installed = app_installed(local_user(),$papp);
|
$installed = app_installed(local_user(),$papp);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user