diff -r 5b37998e522e -r 162c1de6545a web/lib/Zend/XmlRpc/Value/Boolean.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/Zend/XmlRpc/Value/Boolean.php Fri Mar 11 15:05:35 2011 +0100 @@ -0,0 +1,63 @@ +_type = self::XMLRPC_TYPE_BOOLEAN; + // Make sure the value is boolean and then convert it into a integer + // The double convertion is because a bug in the ZendOptimizer in PHP version 5.0.4 + $this->_value = (int)(bool)$value; + } + + /** + * Return the value of this object, convert the XML-RPC native boolean value into a PHP boolean + * + * @return bool + */ + public function getValue() + { + return (bool)$this->_value; + } +} \ No newline at end of file