--- a/web/lib/Zend/Controller/Response/Abstract.php Thu Mar 21 17:31:31 2013 +0100
+++ b/web/lib/Zend/Controller/Response/Abstract.php Thu Mar 21 19:50:53 2013 +0100
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Controller
- * @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: Abstract.php 21301 2010-03-02 23:01:19Z yoshida@zend.co.jp $
+ * @version $Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -26,7 +26,7 @@
*
* @package Zend_Controller
* @subpackage Response
- * @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
*/
abstract class Zend_Controller_Response_Abstract
@@ -257,7 +257,9 @@
}
$key = array_search($headerRaw, $this->_headersRaw);
- unset($this->_headersRaw[$key]);
+ if ($key !== false) {
+ unset($this->_headersRaw[$key]);
+ }
return $this;
}