Browse Source

[Profiler] Fix importing profiler data

Victor Berchet 14 năm trước cách đây
mục cha
commit
96597024e8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);