ID | Project | Category | Submitted / Last Updated |
---|---|---|---|
00786 | UserSpice | Misc | 2020-01-20 03:43:35 / 2020-07-22 20:05:52 |
Reported | Bill Marjerison | Assigned To | Unassigned |
Priority | none | Reported | 5.0.08 |
Status | closed fixed | Resolution Version and Commit | 5.0.08 bcd0a7 |
Summary | Validate.php Incorrect validation error message for ">" case | ||
Description |
<p>This code is around line 161 in Validate.php. The message should be VAL_GREATER:</p> <p> </p> <p>if ($rule==">" && $value<=$rule_value) {</p> <p> $str = lang("VAL_LESS");</p> <p>$this->addError(["{$display} $str {$rule_value_display}",$item]);</p> <p>}</p> <p> </p> |
xxxxxxxxxx
<p>Greater was giving the language for less. Thanks for submitting this!</p>