diff options
author | friendica <info@friendica.com> | 2013-08-24 17:05:01 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-08-24 17:05:01 -0700 |
commit | 4925f7fc53e5971541e1fcfcbd38597a7536a2e8 (patch) | |
tree | e3753a947b79af71b20c5d130bede33446c15964 /boot.php | |
parent | 22746dd14c991e342badcb96ca812d5be50c97e2 (diff) | |
download | volse-hubzilla-4925f7fc53e5971541e1fcfcbd38597a7536a2e8.tar.gz volse-hubzilla-4925f7fc53e5971541e1fcfcbd38597a7536a2e8.tar.bz2 volse-hubzilla-4925f7fc53e5971541e1fcfcbd38597a7536a2e8.zip |
another issue with site rename
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1284,8 +1284,8 @@ function fix_system_urls($oldurl,$newurl) { // that they can clean up their hubloc tables (this includes directories). // It's a very expensive operation so you don't want to have to do it often or after your site gets to be large. - $r = q("select * from xchan left join channel on channel_hash = xchan_hash where xchan_url = '%s'", - dbesc($oldurl) + $r = q("select * from xchan left join channel on channel_hash = xchan_hash where xchan_url like '%s'", + dbesc($oldurl . '%') ); if($r) { foreach($r as $rr) { |