aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/updater/Updater.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-07-28 22:24:41 +0200
committerArthurHoaro <arthur@hoa.ro>2020-07-28 22:34:45 +0200
commitf7f08ceec1b218e1525153e8bd3d0199f2fb1c9d (patch)
treef0c1227355b02ab931732b0b37b626f3ec9274cf /application/updater/Updater.php
parent624123177f8673f978c49186b43fd96c6827d8a0 (diff)
downloadShaarli-f7f08ceec1b218e1525153e8bd3d0199f2fb1c9d.tar.gz
Shaarli-f7f08ceec1b218e1525153e8bd3d0199f2fb1c9d.tar.zst
Shaarli-f7f08ceec1b218e1525153e8bd3d0199f2fb1c9d.zip
Fix basePath in unit tests reference DB
Diffstat (limited to 'application/updater/Updater.php')
-rw-r--r--application/updater/Updater.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/updater/Updater.php b/application/updater/Updater.php
index 4c578528..88a7bc7b 100644
--- a/application/updater/Updater.php
+++ b/application/updater/Updater.php
@@ -157,7 +157,7 @@ class Updater
157 && 1 === preg_match('/^\?([a-zA-Z0-9-_@]{6})($|&|#)/', $bookmark->getUrl(), $match) 157 && 1 === preg_match('/^\?([a-zA-Z0-9-_@]{6})($|&|#)/', $bookmark->getUrl(), $match)
158 ) { 158 ) {
159 $updated = true; 159 $updated = true;
160 $bookmark = $bookmark->setUrl($this->basePath . '/shaare/' . $match[1]); 160 $bookmark = $bookmark->setUrl('/shaare/' . $match[1]);
161 161
162 $this->bookmarkService->set($bookmark, false); 162 $this->bookmarkService->set($bookmark, false);
163 } 163 }