]> git.mxchange.org Git - friendica.git/blobdiff - src/Console/Relocate.php
bump version 2023.12
[friendica.git] / src / Console / Relocate.php
index a6fdd8bfbd1304a0ecff34e1656236fd04b6334e..22de2903c5b8fe03d7a36b6aee218f2694b4400a 100644 (file)
@@ -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));