mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 20:06:31 +00:00
udpated CHANGELOG
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
* 1.16.1 (2014-XX-XX)
|
||||
|
||||
* sped up the slice filter
|
||||
* fixed for mb function overload mb_substr acting different
|
||||
* fixed the attribute() function when passing a variable for the arguments
|
||||
|
||||
|
||||
@@ -692,7 +692,6 @@ function twig_array_merge($arr1, $arr2)
|
||||
function twig_slice(Twig_Environment $env, $item, $start, $length = null, $preserveKeys = false)
|
||||
{
|
||||
if ($item instanceof Traversable) {
|
||||
|
||||
if ($item instanceof IteratorAggregate) {
|
||||
$item = $item->getIterator();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user