@arcsin
17 years, 1 month ago
Had the same error myself. After some debugging I found out that $tag is assigned a value where it shouldn’t.
These lines solved it (inserted as lines 28-29):
if (strlen($tag) == 0) unset($tag);