Menu Item "Recent Topics" show "Unapproved Topics" gives an error (see inside) #1385

Closed
rich20 opened this Issue Jan 29, 2013 · 7 comments

4 participants

@rich20
Kunena member

Warning: Invalid argument supplied for foreach() in /.../components/com_kunena/models/topics.php on line 323

This error is only for registered users and guests to see. Not for Admins or Moderators.
(testet with J 1.5, 2.5 and K 2.0.4)

@810
Kunena member

This fix can be merged. Its working

@mahagr
Kunena member

@810: can you verify with latest master?

@rich20
Kunena member

The error is still present (tested with Joomla 2.5 as well as Joomla 3.0)

@810
Kunena member

Yes, confirmed, the error is still there

@810
Kunena member

The commit isn't merged

@mahagr mahagr added a commit to mahagr/Kunena-Forum that referenced this issue Apr 11, 2013
@mahagr mahagr #1385: Fix Recent Topics / Unapproved Topics notice 31c4672
@mahagr
Kunena member

Fixed the real bug -- function returning false when it should have returned array().

@mahagr mahagr closed this in 28f13e0 Apr 11, 2013
@xillibit xillibit added a commit to xillibit/Kunena-forum that referenced this issue Apr 11, 2013
@mahagr mahagr #1385: Fix Recent Topics / Unapproved Topics notice d065c62
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment