[r1420] New, Edit Category Notice: Undefined property: JUser

More
12 years 3 months ago #27377 by supachai_chai
FLEXIcontent v1.5.6 r1420 for J1.5 Make New, Edit Category Notice: Undefined property: JUser::$gmid in \administrator\components\com_flexicontent\views\category\view.html.php on line 62

please fix it :D

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

More
12 years 3 months ago #27417 by ggppdk
the problem is that this line, should be executed only if flexiaccess is installed

This is the correct code:
Code:
if (FLEXI_ACCESS) { $cancreate_any = count( flexicontent_cats::getFAallowedCats($user->gmid, array('core.create')) ) || ($user->gid == 25); } else { $cancreate_any = 1; // all backend users }


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.384 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline