FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » FUDApi - fetch categories (fud_fetch_cat_forums behavior)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: FUDApi - fetch categories [message #161929 is a reply to message #161925] Sun, 21 February 2010 09:08 Go to previous message
jlundan is currently offline  jlundan
Messages: 4
Registered: February 2010
Location: Finland
Karma:
Junior Member
The code

if ($arg && count($result) != count($arg)) {
    return FALSE;


just beneath unset($r) says

"if $arg evaluates true and result count does not equal arg count return false"

lets assume that I have two forums inside category which id is 1. The category id (1) goes to $arg variable. My result contains two rows since I have two forums inside my category. My $arg exists, my arg count is one and my result count is two. The function returns FALSE since both conditions in the if match.

Am I just missing something? =)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Problem with FUDforum API global variables
Next Topic: Prefix on answers
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 16:09:59 GMT 2024

Total time taken to generate the page: 0.03871 seconds