Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Date validation

[High] Date validation 13 Sep 2015 23:25 #13455

  • polsl
  • polsl's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 0
Hello,
there is a bug in server side validation of date provided in form. If the date format is wrong, for instance "qwe" form can't be saved and error is returned. However if the user makes a mistake in a number not format (for instance 2015-09-40) form is accepted and the date is replaced with current date with no error message displayed.
Best regards
The administrator has disabled public write access.

[High] Date validation 15 Oct 2015 13:10 #13597

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed in
helpers/date.php
function :
getSqlDate()
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: polsl
Time to create page: 0.066 seconds

Get Started