Skip to main content

Error with custom user fields

More
15 years 8 months ago #5244 by brainforge

Warning: Invalid argument supplied for foreach() in /home/demo/www/administrator/components/com_hikashop/classes/field.php on line 752

Add single drop-down custom user field with 2 values.
Go into Customers / Customers / Modify and error occurs.
Reproducible on your demo site.

Please Log in or Create an account to join the conversation.

More
15 years 8 months ago #5245 by nicolas
Thank you for your bug report :)

You can replace the line
Code:
$fields['user'] = $fieldsClass->getData('backend','user');
by
Code:
$fields['user'] = $fieldsClass->getFields('backend',$user);
in the file administrator/components/com_hikashop/views/user/view.html.php to fix the problem. That fix will be included in next release.

Please Log in or Create an account to join the conversation.

Time to create page: 0.168 seconds
Powered by Kunena Forum