aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-20 22:59:58 -0700
committerfriendica <info@friendica.com>2014-05-20 22:59:58 -0700
commitc6de9096fabf913e5e8b4acbde75cd58bb8c9959 (patch)
treed95fc72468299ac3c80d7aaa474cc396ff9e836a
parent9365b7f632e06183946c78c8a70de95f36f3fef3 (diff)
downloadvolse-hubzilla-c6de9096fabf913e5e8b4acbde75cd58bb8c9959.tar.gz
volse-hubzilla-c6de9096fabf913e5e8b4acbde75cd58bb8c9959.tar.bz2
volse-hubzilla-c6de9096fabf913e5e8b4acbde75cd58bb8c9959.zip
add zids to all the personal app links
-rw-r--r--include/apps.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/apps.php b/include/apps.php
index 910d1c84d..2b5903329 100644
--- a/include/apps.php
+++ b/include/apps.php
@@ -139,6 +139,11 @@ function app_render($papp,$mode = 'view') {
$papp['papp'] = papp_encode($papp);
+ foreach($papp as $k => $v) {
+ if(strpos($v,'http') === 0 && $k != 'papp')
+ $papp[$k] = zid($v);
+ }
+
if(local_user()) {
$installed = app_installed(local_user(),$papp);
}