Jump to content

Custom clientarea.tpl in modules makes fields + addons non-arrays


CubedHost

Recommended Posts

Noticed someone else had this issue in General, didn't see a bug report for it.

 

When you're using a module of some sort (which you almost always do), $configoptions and $customfields (in templates/portal/clientareaproductdetails.tpl) are still arrays, but their values are not.

 

For example, I'm using a custom OVH module. The first character of the field or addon name is displayed for both the name and value of the fields in the client area. Without the OVH module selected, they display properly.

 

Temporary fix is to just assign a key to the foreach in the template(s) necessary and output the values of the variables that are given.

 

Affected version: 5.0.2 (latest)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated