Security update to Drupal 8.4.6
[yaffs-website] / vendor / twig / twig / lib / Twig / Profiler / NodeVisitor / Profiler.php
index 45253c7e643b8d9be6f9aa6cd47bc76bcf7f78f2..5db41fea756d16ff2fc31221e3113d03e91832fd 100644 (file)
@@ -55,7 +55,7 @@ class Twig_Profiler_NodeVisitor_Profiler extends Twig_BaseNodeVisitor
 
     private function getVarName()
     {
-        return sprintf('__internal_%s', hash('sha256', __METHOD__));
+        return sprintf('__internal_%s', hash('sha256', $this->extensionName));
     }
 
     public function getPriority()