An error message should be shown to say that a field was in error. No contact email should be sent.
No error message is shown and the contact email is sent.
Joomla 2.5.24
Fix is trivial. I'll submit a PR shortly.
JString::stristr($item, $value) is the wrong way around. It should be JString::stristr($value, $item). The first argument is the haystack, the second is the needle.
@test @chrisdavenport successful
But as noted on the PR: #4113 (comment) we need also fix this file: https://github.com/joomla/joomla-cms/blob/2.5.x/components/com_contact/models/rules/contactemail.php
Closing
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-08-21 06:50:07 |
Labels |
Added:
?
|
There was a commit not too long ago for this iirc #3068