aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/identity.php')
-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
+}