diff options
author | friendica <info@friendica.com> | 2014-05-20 22:59:58 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-05-20 22:59:58 -0700 |
commit | c6de9096fabf913e5e8b4acbde75cd58bb8c9959 (patch) | |
tree | d95fc72468299ac3c80d7aaa474cc396ff9e836a /include/apps.php | |
parent | 9365b7f632e06183946c78c8a70de95f36f3fef3 (diff) | |
download | volse-hubzilla-c6de9096fabf913e5e8b4acbde75cd58bb8c9959.tar.gz volse-hubzilla-c6de9096fabf913e5e8b4acbde75cd58bb8c9959.tar.bz2 volse-hubzilla-c6de9096fabf913e5e8b4acbde75cd58bb8c9959.zip |
add zids to all the personal app links
Diffstat (limited to 'include/apps.php')
-rw-r--r-- | include/apps.php | 5 |
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); } |