Fix for bug #20098

http://pear.php.net/bugs/bug.php?id=20098