|
@@ -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.');
|
|
|
}
|
|
|
|