aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2014-03-04 23:18:33 +0000
committerThomas Willingham <founder@kakste.com>2014-03-04 23:18:33 +0000
commitf2f6485a4fd535160ffa0edb2dddab5567609a7e (patch)
tree0bb3106025a24448b39b113b1200e6b0e6e2325a /include
parent5f585310e73ec588b7e99a59ff5ed97850cc4ecd (diff)
downloadvolse-hubzilla-f2f6485a4fd535160ffa0edb2dddab5567609a7e.tar.gz
volse-hubzilla-f2f6485a4fd535160ffa0edb2dddab5567609a7e.tar.bz2
volse-hubzilla-f2f6485a4fd535160ffa0edb2dddab5567609a7e.zip
Make zid() work for observers as well as local users
Diffstat (limited to 'include')
-rw-r--r--include/identity.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/identity.php b/include/identity.php
index 93174031c..05123d8dc 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -1009,8 +1009,8 @@ function advanced_profile(&$a) {
function get_my_url() {
if(x($_SESSION,'zrl_override'))
return $_SESSION['zrl_override'];
- if(x($_SESSION,'my_url'))
- return $_SESSION['my_url'];
+ if(x($_SESSION,'my_address'))
+ return $_SESSION['my_address'];
return false;
}
@@ -1223,4 +1223,4 @@ function get_channel_by_nick($nick) {
);
return(($r) ? $r[0] : false);
-} \ No newline at end of file
+}