Skip to content

Commit

Permalink
Dev: Date_Time_Converter does not support ''
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Jun 15, 2017
1 parent 22dcadc commit 55c4fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/qanda_helper.php
Expand Up @@ -933,7 +933,7 @@ function do_date($ia)
if (!empty($_SESSION['survey_'.Yii::app()->getConfig('surveyID')][$ia[1]]) &&
($_SESSION['survey_'.Yii::app()->getConfig('surveyID')][$ia[1]]!='INVALID'))
{
$datetimeobj = new Date_Time_Converter($_SESSION['survey_'.Yii::app()->getConfig('surveyID')][$ia[1]], "!Y-m-d H:i:s");
$datetimeobj = new Date_Time_Converter($_SESSION['survey_'.Yii::app()->getConfig('surveyID')][$ia[1]], "Y-m-d H:i:s");
$currentyear = $datetimeobj->years;
$currentmonth = $datetimeobj->months;
$currentdate = $datetimeobj->days;
Expand Down

0 comments on commit 55c4fd2

Please sign in to comment.