aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xboot.php3
1 files changed, 2 insertions, 1 deletions
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'];