浏览代码

[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);