瀏覽代碼

[HttpKernel] fixed missing init for Profile children property

Fabien Potencier 13 年之前
父節點
當前提交
3d7510e921
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Symfony/Component/HttpKernel/Profiler/Profile.php

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

@@ -32,6 +32,7 @@ class Profile implements \Serializable
     {
         $this->token = $token;
         $this->collectors = array();
+        $this->children = array();
     }
 
     /**