Explorar o código

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

Fabien Potencier %!s(int64=14) %!d(string=hai) anos
pai
achega
7b835cbc57

+ 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;
         }