Fix getComputedData

This commit is contained in:
Jérémy Derussé 2015-01-25 19:37:18 +01:00
parent 9e8cb01fde
commit e8ca06aaa0
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class TwigDataCollector extends DataCollector implements LateDataCollectorInterf
$this->computed = $this->computeData($this->getProfile());
}
return $this->computed['index'];
return $this->computed[$index];
}
private function computeData(\Twig_Profiler_Profile $profile)