Skip to content

Commit

Permalink
Fixed issue 09643: Date/Time validation error if DB!=MySQL
Browse files Browse the repository at this point in the history
Dev: This fix still needs to be implemented in the
Dev: new data structure
  • Loading branch information
mfaber committed Aug 13, 2015
1 parent df74b63 commit c673e1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/helpers/expressions/em_manager_helper.php
Expand Up @@ -4244,9 +4244,9 @@ static function StartSurvey(
// }
// switch ($knownVar['type']) {
// case 'D': //DATE
// if (trim($value) == "") {
// if (trim($value) == "" | $value=='INVALID') {
// $value = null;
// } elseif ($value != 'INVALID') {
// } else {
// $dateformatdatat = getDateFormatData($LEM->surveyOptions['surveyls_dateformat']);
// $datetimeobj = new Date_Time_Converter($value, $dateformatdatat['phpdate']);
// $value = $datetimeobj->convert("Y-m-d H:i");
Expand Down

0 comments on commit c673e1d

Please sign in to comment.