A Bug Solution (Categories)

  • benni1601
  • benni1601's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 5 months ago #86 by benni1601
benni1601 created the topic: A Bug Solution (Categories)
I found a bug. If the eventlist shows events of all categories, it works fine,
but if this shows events of one or more categories, it doesn't work.
The program says that there aren't any events available,
although the events with this categories exists.

I analyzed the source code and I found the solution:
File: <joomla>/components/com_simplecalendar/models/events.php (Line: 361)
I changed this line if ( $categoryArray[0] != '' )
to if ( !is_array($categoryArray) )
and now it works fine.
The following user(s) said Thank You: admin

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

More
4 years 5 months ago #88 by hgdc
hgdc replied the topic: A Bug Solution (Categories)
Thank you. Although it worked as it was in Safari - I was tearing my hair out why it didn't on other browsers.

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

More
4 years 5 months ago #96 by admin
admin replied the topic: A Bug Solution (Categories)
Will be ok in 3.0.5. Thanks for the tip!

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

Time to create page: 0.293 seconds
Powered by Kunena Forum