From 32b15618ce7b973ba6251f88f0d855c6768bb3f7 Mon Sep 17 00:00:00 2001 From: KIMB-technologies Date: Tue, 10 Mar 2020 14:00:16 +0100 Subject: [PATCH] Allow , in Textareas. --- VERSION | 2 +- core/PollCreator.php | 2 +- core/Utilities.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index bed2432..c2cae51 100644 --- a/VERSION +++ b/VERSION @@ -1,4 +1,4 @@ latest -1.2.5 +1.2.6 1.2 1 diff --git a/core/PollCreator.php b/core/PollCreator.php index 8a6d3f3..01f9589 100644 --- a/core/PollCreator.php +++ b/core/PollCreator.php @@ -17,7 +17,7 @@ class PollCreator{ * Input check constants */ const PREG_TEXTINPUT = '/[^A-Za-z0-9 :\.\-_ÄÜÖäüöß]/'; - const PREG_TEXTAREA = '/[^A-Za-z0-9 :\/\*\#\.\-_ÄÜÖäüöß\r\n]/'; + const PREG_TEXTAREA = '/[^A-Za-z0-9 :\/\,\*\#\.\-_ÄÜÖäüöß\r\n]/'; const PREG_NUMBER = '/[^0-9]/'; /** * Max inputs lenghts diff --git a/core/Utilities.php b/core/Utilities.php index ba90832..41dda97 100644 --- a/core/Utilities.php +++ b/core/Utilities.php @@ -16,7 +16,7 @@ class Utilities { /** * The system's Version */ - const SYS_VERSION = 'v1.2.5'; + const SYS_VERSION = 'v1.2.6'; /** * Possible chars for: