Fix version not being stored correctly

This commit is contained in:
grandeljay 2022-11-08 13:13:28 +01:00
parent cc969fc489
commit 7cfed3ca41
2 changed files with 6 additions and 3 deletions

View file

@ -41,9 +41,6 @@ class Options
public function setOption(string $key, string $value): void
{
$key = Sanitiser::getOption($key);
$value = Sanitiser::getText($value);
$optionExists = 0 !== $this->database
->query('SELECT *
FROM `options`

View file

@ -75,6 +75,12 @@ $page->navigation();
echo __('An error when a blog post doesn\'t have a featured image.');
?>
</li>
<li>
<?php
/** TRANSLATORS: Changelog: Fixed */
echo __('Version number not being stored correctly causing the migration to execute the wrong script.');
?>
</li>
</ul>
</div>