X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FConsole%2FRelocate.php;h=22de2903c5b8fe03d7a36b6aee218f2694b4400a;hb=d4a5a8051ad34a7be72238967afb3e6b140afdc8;hp=a6fdd8bfbd1304a0ecff34e1656236fd04b6334e;hpb=f0c29edcde0ab15150147a3ebae40ca628197fde;p=friendica.git diff --git a/src/Console/Relocate.php b/src/Console/Relocate.php index a6fdd8bfbd..22de2903c5 100644 --- a/src/Console/Relocate.php +++ b/src/Console/Relocate.php @@ -94,7 +94,7 @@ HELP; $this->out(sprintf('Relocation started from %s to %s. Could take a while to complete.', $this->baseUrl, $this->getArgument(0))); - $old_url = $this->baseUrl; + $old_url = (string)$this->baseUrl; // Generate host names for relocation the addresses in the format user@address.tld $new_host = str_replace('http://', '@', Strings::normaliseLink($new_url));