LSformRule: do not defined validate_one_by_one constant visibility

To keep compatibility with PHP < 7.1.
This commit is contained in:
Benjamin Renard 2020-12-22 18:05:28 +01:00
parent 43d2620f8e
commit 7535530416

View file

@ -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