Skip to content

Commit

Permalink
Fixed issue #12805: Date fields are lost when persistent tokens are r…
Browse files Browse the repository at this point in the history
…e-accessed
  • Loading branch information
c-schmitz committed Oct 20, 2017
1 parent 26988bb commit b039dcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/helpers/qanda_helper.php
Expand Up @@ -6173,8 +6173,8 @@ function fillDate($dateString) {
case 16:
return $dateString;
break;
// Assume date('c')
case 25:
case 19:
case 25: // Assume date('c')
$date = new DateTime($dateString);
if ($date) {
return $date->format('Y-m-d H:i');
Expand Down

0 comments on commit b039dcc

Please sign in to comment.