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 on line 281 in catalog/controller/account/register.php #2290

Closed
nikto1 opened this issue Nov 18, 2014 · 2 comments
Closed

Undefined index on line 281 in catalog/controller/account/register.php #2290

nikto1 opened this issue Nov 18, 2014 · 2 comments

Comments

@nikto1
Copy link

nikto1 commented Nov 18, 2014

 $data['register_custom_field'] = $this->request->post['custom_field']['account'] + $this->request->post['custom_field']['address'];

should be

 $data['register_custom_field'] = $this->request->post['custom_field']['account'] || $this->request->post['custom_field']['address'];

Instead the "+" there should be an "or" operator.

Greetings

@danielkerr
Copy link
Member

no because this merges the arrays

i can not replicate this error on the master branch.

@danielkerr
Copy link
Member

I know what the error is now. will fix

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