Просмотр исходного кода

[ZF-2146]: stop output buffering in case of exception (fix problem in complete test execution)

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@24315 44c647ce-9c0f-0410-b52a-842ac1e357ba
mikaelkael 14 лет назад
Родитель
Сommit
880b2560ef
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      library/Zend/Gdata/AuthSub.php

+ 2 - 0
library/Zend/Gdata/AuthSub.php

@@ -169,6 +169,7 @@ class Zend_Gdata_AuthSub
         try {
             $response = $client->request('GET');
         } catch (Zend_Http_Client_Exception $e) {
+            ob_end_clean();
             require_once 'Zend/Gdata/App/HttpException.php';
             throw new Zend_Gdata_App_HttpException($e->getMessage(), $e);
         }
@@ -210,6 +211,7 @@ class Zend_Gdata_AuthSub
         try {
             $response = $client->request('GET');
         } catch (Zend_Http_Client_Exception $e) {
+            ob_end_clean();
             require_once 'Zend/Gdata/App/HttpException.php';
             throw new Zend_Gdata_App_HttpException($e->getMessage(), $e);
         }