From 7535530416afbc4aa34b2ebd37692a5fe7253bbf Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 22 Dec 2020 18:05:28 +0100 Subject: [PATCH] LSformRule: do not defined validate_one_by_one constant visibility To keep compatibility with PHP < 7.1. --- src/includes/class/class.LSformRule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/includes/class/class.LSformRule.php b/src/includes/class/class.LSformRule.php index ff1023fc..70eb66dc 100644 --- a/src/includes/class/class.LSformRule.php +++ b/src/includes/class/class.LSformRule.php @@ -30,7 +30,7 @@ LSsession :: loadLSclass('LSlog_staticLoggerClass'); class LSformRule extends LSlog_staticLoggerClass { // Validate values one by one or all together - public const validate_one_by_one = True; + const validate_one_by_one = True; /** * Validate form element values with specified rule