X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Ftwig%2Ftwig%2Flib%2FTwig%2FProfiler%2FNodeVisitor%2FProfiler.php;h=5db41fea756d16ff2fc31221e3113d03e91832fd;hp=a395ae7fda19ae02d7ee575d677fe32e2d266d9a;hb=refs%2Fheads%2Ft2;hpb=eba34333e3c89f208d2f72fa91351ad019a71583 diff --git a/vendor/twig/twig/lib/Twig/Profiler/NodeVisitor/Profiler.php b/vendor/twig/twig/lib/Twig/Profiler/NodeVisitor/Profiler.php index a395ae7fd..5db41fea7 100644 --- a/vendor/twig/twig/lib/Twig/Profiler/NodeVisitor/Profiler.php +++ b/vendor/twig/twig/lib/Twig/Profiler/NodeVisitor/Profiler.php @@ -55,7 +55,7 @@ class Twig_Profiler_NodeVisitor_Profiler extends Twig_BaseNodeVisitor private function getVarName() { - return sprintf('__internal_%s', hash('sha256', uniqid(mt_rand(), true), false)); + return sprintf('__internal_%s', hash('sha256', $this->extensionName)); } public function getPriority()