aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-04-14 15:12:39 -0400
committerSimon L'nu <simon.lnu@gmail.com>2012-04-14 15:12:39 -0400
commit1dd22be4d2fe997d9bde552f8d8a25ba12c67e7e (patch)
tree32486e253628ab64fa466f34dfc0703d9ce8644c /mod
parent16f729912a00cc92d0473f3d326080531a2fb393 (diff)
parent6591b292a1e22e3eaec41af0a61a6911e9847098 (diff)
downloadvolse-hubzilla-1dd22be4d2fe997d9bde552f8d8a25ba12c67e7e.tar.gz
volse-hubzilla-1dd22be4d2fe997d9bde552f8d8a25ba12c67e7e.tar.bz2
volse-hubzilla-1dd22be4d2fe997d9bde552f8d8a25ba12c67e7e.zip
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master: bogus empty list element in dfrn_request page when emailnet not enabled zrl on random profile zrl hook bug #372 - category feeds pass zrl's to/through global directory * master:
Diffstat (limited to 'mod')
-rw-r--r--mod/directory.php2
-rw-r--r--mod/randprof.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/directory.php b/mod/directory.php
index 7f18bd026..367438845 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -44,7 +44,7 @@ function directory_content(&$a) {
$gdirpath = dirname(get_config('system','directory_submit_url'));
if(strlen($gdirpath)) {
$globaldir = '<ul><li><div id="global-directory-link"><a href="'
- . $gdirpath . '">' . t('Global Directory') . '</a></div></li></ul>';
+ . zrl($gdirpath,true) . '">' . t('Global Directory') . '</a></div></li></ul>';
}
$admin = '';
diff --git a/mod/randprof.php b/mod/randprof.php
index 53d7425e9..6713a81d9 100644
--- a/mod/randprof.php
+++ b/mod/randprof.php
@@ -5,6 +5,6 @@ function randprof_init(&$a) {
require_once('include/Contact.php');
$x = random_profile();
if($x)
- goaway($x);
+ goaway(zrl($x));
goaway($a->get_baseurl() . '/profile');
}