Topic: Impossible BBcode error
// If $q_depth <> 0 something is wrong with the quote syntax
if ($q_depth)
{
$error = $lang_common['BBCode error'].' '.$lang_common['BBCode error 4'];
return;
}
else if ($q_depth < 0)
{
$error = $lang_common['BBCode error'].' '.$lang_common['BBCode error 5'];
return;
}
The second error is impossible. I might be wrong but i can't seem to make $q_depth anything except -1 which is 1 or more missing end tags like it says, missing start tags are picked up much earlier. If i can get my head round the code i'll be able to say that for sure