From f2f6485a4fd535160ffa0edb2dddab5567609a7e Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Tue, 4 Mar 2014 23:18:33 +0000 Subject: Make zid() work for observers as well as local users --- include/identity.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/identity.php') 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 +} -- cgit v1.2.3