Latest News: (loading..)
Issue Information
-
#000507
-
0 - None Assigned
-
New
-
2.3.2
-
-
Issue Confirmations
-
Yes (1)No (0)
catalog/advanced_search_results error in test wrt to dob string
Posted by Juto on 14 September 2012 - 09:34 PM
In the test of a valid dob string at the top of the file current code is:
I do believe it should test for an invalid dob string like so:
Sara
(isset($_GET['dfrom']) && (empty($_GET['dfrom']) || ($_GET['dfrom'] == DOB_FORMAT_STRING))) && (isset($_GET['dto']) && (empty($_GET['dto']) || ($_GET['dto'] == DOB_FORMAT_STRING))) &&
I do believe it should test for an invalid dob string like so:
(isset($_GET['dfrom']) && (empty($_GET['dfrom']) || ($_GET['dfrom'] != DOB_FORMAT_STRING))) && (isset($_GET['dto']) && (empty($_GET['dto']) || ($_GET['dto'] != DOB_FORMAT_STRING))) &&
Sara









