Fix for Bug #18090:  Error of loading captcha "undefined method"

As described at https://pear.php.net/bugs/bug.php?id=18090