Skip to content

Commit

Permalink
Fixed issue #7215: Date/time question: only dates 1980 and over selec…
Browse files Browse the repository at this point in the history
…table in calender by default
  • Loading branch information
c-schmitz committed Jan 21, 2013
1 parent e28ef8c commit dc2eb82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/qanda_helper.php
Expand Up @@ -1314,7 +1314,7 @@ function do_date($ia)
}
else
{
$minyear='1980';
$minyear='1900';
}

if (trim($aQuestionAttributes['dropdown_dates_year_max'])!='') {
Expand Down

2 comments on commit dc2eb82

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can use same attributes than dropdown_dates ?
If it's set use it.

Denis

@c-schmitz
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is already used.

Please sign in to comment.