1

Topic: Warning in help.php when displaying smileys

I get a lot avec notice in help.php when display the smileys list.

"Notice: Undefined offset: XX in help.php on line 144"

imho it's because of the loop in help.php that check if there are any duplicate image. When a dupe is removed, there is a free offset in the array.
For now, i've replaced line 144 (wich was :
if ($smiley_img[$i] == $smiley_img[$next])
) by :
if (isset($smiley_img[$next]) && $smiley_img[$i] == $smiley_img[$next])
and got no notice anymore.

I hope this cas help...

Re: Warning in help.php when displaying smileys

Thanks, I'll look into it.

"Programming is like sex: one mistake and you have to support it for the rest of your life."