--- a/web/lib/Zend/Rest/Client/Result.php Thu Mar 21 17:31:31 2013 +0100
+++ b/web/lib/Zend/Rest/Client/Result.php Thu Mar 21 19:50:53 2013 +0100
@@ -15,16 +15,16 @@
* @category Zend
* @package Zend_Rest
* @subpackage Client
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Result.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Result.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
* @category Zend
* @package Zend_Rest
* @subpackage Client
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Rest_Client_Result implements IteratorAggregate {
@@ -180,7 +180,8 @@
public function getStatus()
{
$status = $this->_sxml->xpath('//status/text()');
-
+ if ( !isset($status[0]) ) return false;
+
$status = strtolower($status[0]);
if (ctype_alpha($status) && $status == 'success') {