While this is no big deal, it is a coding error. If I have no messages yet click the submit button, I get the error shown in the attached image.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | feedback.admin-empty.6.patch | 516 bytes | sun |
| #5 | feedback.admin_.xibun1_.patch | 761 bytes | xibun |
| #1 | feedback-1294764.patch | 664 bytes | Anonymous (not verified) |
| feedback_error.png | 36.96 KB | bike2live |
Comments
Comment #1
Anonymous (not verified) commentedFix attached. Best regards!
Comment #2
Anonymous (not verified) commentedComment #3
xibun commentedpatch works! thanks. (note: it also removes the unused variable $update)
Comment #4
sunIf there are no messages, then we need to hide (not output; i.e., #access => FALSE) the submit button in the form instead.
Comment #5
xibun commentedgood point: better UI. here is the updated patch.
Comment #6
sunThanks for reporting, reviewing, and testing! Committed attached patch to 7.x-2.x.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.
Comment #7
xibun commentednice idea to look for $entries - didn't see that one!
question: javier.alejandr... had spotted an unused variable $update (currently on line 122) - I know it's unrelated.. but why not remove it?