From 933c30d95d73c039257428081a38206cfcd3756d Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 9 Sep 2013 19:02:38 -0700 Subject: site rename issue --- boot.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index b3c8701fd..4c2e27f93 100755 --- a/boot.php +++ b/boot.php @@ -1339,7 +1339,8 @@ function fix_system_urls($oldurl,$newurl) { if($r) { foreach($r as $rr) { $channel = substr($rr['xchan_addr'],0,strpos($rr['xchan_addr'],'@')); - $parsed = @parse_url($rr['xchan_url']); + + $parsed = @parse_url($newurl); if(! $parsed) continue; $newhost = $parsed['host']; -- cgit v1.2.3