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

Undefined index 'ajax' in performAjaxValidation #10

Open
andrevabo opened this issue Nov 23, 2012 · 1 comment
Open

Undefined index 'ajax' in performAjaxValidation #10

andrevabo opened this issue Nov 23, 2012 · 1 comment
Assignees

Comments

@andrevabo
Copy link

giix-components/GxController.php line 160

...
if (Yii::app()->getRequest()->getIsAjaxRequest() && (($form === null) || ($_POST['ajax'] == $form)))
...

change:

($_POST['ajax'] == $form)

to:

(isset($_POST['ajax']) && $_POST['ajax'] == $form)

@rcoelho
Copy link
Owner

rcoelho commented Nov 23, 2012

Thanks, @andrevabo.

@ghost ghost assigned rcoelho Nov 23, 2012
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

2 participants