Bug in the php validation libraries (legacy syntax)

Bug in the php validation libraries (legacy syntax)

corpocorpo Posts: 14Questions: 0Answers: 0
edited March 2018 in Editor

There's a small bug in the PHP validation libraries, in maxLenLegacy(), which does not use the right validator :

Line 1237, replace

return Validate::minLen( $max, $opts );

with

return Validate::maxLen( $max, $opts );

Replies

  • allanallan Posts: 63,514Questions: 1Answers: 10,472 Site admin

    Thanks! Committed and will be in 1.7.3.

    Allan

This discussion has been closed.