First of all, thanks for correlating this bug and for reporting a fix!
I'm not really sure your fix is complete, because I think it will lose the contents of $remainder if read_entity_body returns an empty string but $remainder still has content. It should at least warn or signal an error.
In reply to Re^3: How to split rows coming from the database
by Corion
in thread How to split rows coming from the database
by mocnii
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |