This commit is contained in:
Fabien Potencier
2019-03-07 10:20:57 +01:00
parent 743767bce8
commit a22a5c4bd1
+1
View File
@@ -358,6 +358,7 @@ function twig_random(Environment $env, $values = null, $max = null)
$min = $values;
$max = $max;
}
return mt_rand($min, $max);
}