site rename issue

This commit is contained in:
friendica 2013-09-09 19:02:38 -07:00
parent 9994ab2c5d
commit 933c30d95d

View File

@ -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'];