Error with custom user fields

  • Posts: 292
  • Thank you received: 5
  • Hikashop Business
13 years 10 months ago #5244

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.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 10 months ago #5245

Thank you for your bug report :)

You can replace the line

$fields['user'] = $fieldsClass->getData('backend','user');
by
$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.054 seconds
Powered by Kunena Forum