Fix Notice error for undefined array and avoid 404 using the TOS with original language in case of multi-language association is disabled and an article from a different language than the current used is configured.
Testing Instructions
No Error Fix
Create a single language website environment and enable the profile plugins in order to request the custom TOS field in the user registration form
Check that no PHP Notice errors raise.
No Association Fix
Create a multi language website environment and enable the profile plugins in order to request the custom TOS field in the user registration form.
Select an article.
In the Language Filter plugin disable the Item Associations
Try to register using a different front end language than the one associated to the TOS article previously chosen.
Check that the TOS is correctly linked to the article originally selected, despite the current language is different (so avoiding 404)
no more notice on mono-lingual site.
no more 404 on mono-lingual e.g. index.php/nl/component/users?view=registration (fr as default site language)
association works fine.
Thank you
I have tested this item successfully on e1b3e9a
Works good to me. Thanks!
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10366.