소스 검색

[FrameworkBundle] added @ before using ob_get_clean() for compatibility with PHP 5.4

Fabien Potencier 14 년 전
부모
커밋
7b835cbc57
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Bundle/FrameworkBundle/Controller/ExceptionController.php

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Controller/ExceptionController.php

@@ -36,7 +36,7 @@ class ExceptionController extends ContainerAware
         $this->container->get('request')->setRequestFormat($format);
 
         $currentContent = '';
-        while (false !== $content = ob_get_clean()) {
+        while (false !== $content = @ob_get_clean()) {
             $currentContent .= $content;
         }