Bug in Flexicontent 2.0RC4 frontend article submission form

More
12 years 5 months ago #25995 by visionears
Hi,

When you create a menuitem to the article submission form a bug occurs when you set the item to a type that has a ID > 9.

To fix this change this:

/components/com_flexicontent/views/item/view.html.php
Line 379

JRequest::setVar('typeid', @$menu->query[0]);

to

JRequest::setVar('typeid', @$menu->query);

The variable $menu->query[0] is not an array, so [0] returns the first character of the value. So when an item type is 10 the menu item will show item 1 (article) and so on.

This bug was found in Flexicontent 2.0RC4

Happy coding ;-)

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

More
12 years 5 months ago #26020 by ggppdk
Yes you are right

this has been already fixed already in the SVN


-- 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.

More
12 years 5 months ago #26057 by micker
thanks for return

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.442 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