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

Home » FUDforum Development » Bug Reports » Undefined offset bug (Undefined offset: 1 in .../theme/default/index.php on line 34)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Undefined offset bug [message #37679] Fri, 15 June 2007 00:38 Go to previous message
grigori is currently offline  grigori   Ukraine
Messages: 15
Registered: June 2007
Location: Ukraine
Karma:
Junior Member

Hi, it does not work for me when I click the category title.
When I turn on php_flag display_errors, it writes me
"Undefined offset: 1 in .../theme/default/index.php on line 34"

And really, in index.php.t
if ($cat_id && $collapse[$cat_id])

should be rewritten like
if ($cat_id && !empty($collapse[$cat_id]))


then it works.


P.S. I really liked reading the code Smile

WBR, Grigori

[Updated on: Fri, 15 June 2007 13:25]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Previous Topic: Apache server - anwar khan auctions
Next Topic: tags_to_html() Bug
Goto Forum:
  

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

Current Time: Sat Nov 02 18:49:36 GMT 2024

Total time taken to generate the page: 0.03162 seconds