소스 검색

[Profiler] Fix importing profiler data

Victor Berchet 14 년 전
부모
커밋
96597024e8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Component/HttpKernel/Profiler/Profiler.php

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

@@ -124,7 +124,7 @@ class Profiler
             return false;
         }
 
-        $unpack = unpack('H*', serialize($this->collectors));
+        $unpack = unpack('H*', serialize($collectors));
 
         $this->storage->write($token, $unpack[1], $ip, $url, $time);