fixed an error regarding the check for PEAR::Log