Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when going to main page about begin date and end date #2

Open
dkguru opened this issue Mar 28, 2014 · 0 comments
Open

Error when going to main page about begin date and end date #2

dkguru opened this issue Mar 28, 2014 · 0 comments

Comments

@dkguru
Copy link

dkguru commented Mar 28, 2014

Blank form uses reference to non existent form var begin_date and end_date.

Quick patch, check for values with isset before using.

Changed line 53 of .module to:

// Added check for existence to avoid nasty notice-of-eminent-destruction messages to user
'#default_value' => (isset($form_state['input']['begin_date'])?$form_state['input']['begin_date']:''),

Changed line 58 of .module to:

// Added check for existence to avoid nasty notice-of-eminent-destruction messages to user
'#default_value' => (isset($form_state['input']['end_date'])?$form_state['input']['end_date']:''),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant