From 2156573100fd3abf4c65270def77aed20ffc8994 Mon Sep 17 00:00:00 2001 From: Thorsten Rinne Date: Mon, 13 Feb 2023 13:27:32 +0100 Subject: [PATCH] fix: don't update the version number --- phpmyfaq/admin/configuration.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/phpmyfaq/admin/configuration.php b/phpmyfaq/admin/configuration.php index 7a7de663ff..7a12124788 100644 --- a/phpmyfaq/admin/configuration.php +++ b/phpmyfaq/admin/configuration.php @@ -52,7 +52,10 @@ // Special checks if (isset($editData['edit']['main.enableMarkdownEditor'])) { - $editData['edit']['main.enableWysiwygEditor'] = false; // Disable WYSIWG editor if Markdown is enabled + $editData['edit']['main.enableWysiwygEditor'] = false; // Disable WYSIWYG editor if Markdown is enabled + } + if (isset($editData['edit']['main.currentVersion'])) { + unset($editData['edit']['main.currentVersion']); // don't update the version number } foreach ($editData['edit'] as $key => $value) {