Fixed: PHP notice  on Joomla 3 or newer when submitting any form which has the permissions field. Closes #1077