From 7cfed3ca41f5aa3c774aa517118789a37815c736 Mon Sep 17 00:00:00 2001 From: grandeljay Date: Tue, 8 Nov 2022 13:13:28 +0100 Subject: [PATCH] Fix version not being stored correctly --- src/classes/options.php | 3 --- src/pages/changelog.php | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/classes/options.php b/src/classes/options.php index ed67447f..3d056394 100644 --- a/src/classes/options.php +++ b/src/classes/options.php @@ -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` diff --git a/src/pages/changelog.php b/src/pages/changelog.php index 5047e120..2bc4d44c 100644 --- a/src/pages/changelog.php +++ b/src/pages/changelog.php @@ -75,6 +75,12 @@ $page->navigation(); echo __('An error when a blog post doesn\'t have a featured image.'); ?> +
  • + +