LSform : warn on error loading LSformRule

This commit is contained in:
Benjamin Renard 2019-06-20 20:13:46 +02:00
parent 39001ba9f9
commit 3b4d09bb00

View file

@ -355,7 +355,7 @@ class LSform {
}
if (!isset($this -> _rules[$element]) || !is_array($this -> _rules[$element]))
continue;
LSsession :: loadLSclass('LSformRule');
LSsession :: loadLSclass('LSformRule', null, true);
foreach($this -> _rules[$element] as $rule) {
$ruleType="LSformRule_".$rule['name'];
LSsession :: loadLSclass($ruleType);