Home »
FUDforum Development »
Bug Reports »
Undefined offset bug (Undefined offset: 1 in .../theme/default/index.php on line 34)
Undefined offset bug [message #37679] |
Fri, 15 June 2007 00:38 |
|
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
WBR, Grigori
[Updated on: Fri, 15 June 2007 13:25] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Sat Nov 02 22:49:06 GMT 2024
Total time taken to generate the page: 0.01973 seconds