diff options
author | VirtualTam <virtualtam@flibidi.net> | 2016-08-02 19:46:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-02 19:46:47 +0200 |
commit | c7a42ab1d9b21bf53cd30bc57b57789716c8711b (patch) | |
tree | 5aa846257cdaa4254085f33b696051088b223fbb /application | |
parent | 58f0660f80b8f6fa29f7ffa99a33edc76d841850 (diff) | |
parent | b9f8b83790a57b55f7d12471460537a268a24642 (diff) | |
download | Shaarli-c7a42ab1d9b21bf53cd30bc57b57789716c8711b.tar.gz Shaarli-c7a42ab1d9b21bf53cd30bc57b57789716c8711b.tar.zst Shaarli-c7a42ab1d9b21bf53cd30bc57b57789716c8711b.zip |
Merge pull request #621 from ArthurHoaro/hotfix/update-escape-config
Fix update method escapeUnescapedConfig
Diffstat (limited to 'application')
-rw-r--r-- | application/Updater.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/Updater.php b/application/Updater.php index fd45d17f..b6cbc56c 100644 --- a/application/Updater.php +++ b/application/Updater.php | |||
@@ -198,11 +198,11 @@ class Updater | |||
198 | * Escape settings which have been manually escaped in every request in previous versions: | 198 | * Escape settings which have been manually escaped in every request in previous versions: |
199 | * - general.title | 199 | * - general.title |
200 | * - general.header_link | 200 | * - general.header_link |
201 | * - extras.redirector | 201 | * - redirector.url |
202 | * | 202 | * |
203 | * @return bool true if the update is successful, false otherwise. | 203 | * @return bool true if the update is successful, false otherwise. |
204 | */ | 204 | */ |
205 | public function escapeUnescapedConfig() | 205 | public function updateMethodEscapeUnescapedConfig() |
206 | { | 206 | { |
207 | try { | 207 | try { |
208 | $this->conf->set('general.title', escape($this->conf->get('general.title'))); | 208 | $this->conf->set('general.title', escape($this->conf->get('general.title'))); |