Browse Source

[HttpKernel] Fixed the test about the availability of the logger

Christophe Coevoet 14 years ago
parent
commit
f84ee37ae0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Symfony/Component/HttpKernel/Profiler/Profiler.php

+ 1 - 1
src/Symfony/Component/HttpKernel/Profiler/Profiler.php

@@ -88,7 +88,7 @@ class Profiler
      */
     public function saveProfile(Profile $profile)
     {
-        if (!$ret = $this->storage->write($profile) && null !== $this->logger) {
+        if (!($ret = $this->storage->write($profile)) && null !== $this->logger) {
             $this->logger->err('Unable to store the profiler information.');
         }