Skip to content

Commit

Permalink
Explicitly expose array_unique Twig filter
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviocopes committed Dec 20, 2016
1 parent 442249c commit e40bed5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* Fix issue with using Yaml::parse direcly on a filename, now deprecated
* Fix [#891](https://github.com/getgrav/grav-plugin-admin/issues/891) Add pattern for frontend validation of folder slugs
* Fix issue with Inflector when translation is disabled [https://github.com/getgrav/grav-plugin-simplesearch/issues/87](https://github.com/getgrav/grav-plugin-simplesearch/issues/87)
* Explicitly expose `array_unique` Twig filter

# v1.1.9
## 12/13/2016
Expand Down
1 change: 1 addition & 0 deletions system/src/Grav/Common/Twig/TwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public function getFilters()
new \Twig_SimpleFilter('truncate', ['\Grav\Common\Utils', 'truncate']),
new \Twig_SimpleFilter('truncate_html', ['\Grav\Common\Utils', 'truncateHTML']),
new \Twig_SimpleFilter('json_decode', [$this, 'jsonDecodeFilter']),
new \Twig_SimpleFilter('array_unique', 'array_unique'),
];
}

Expand Down

0 comments on commit e40bed5

Please sign in to comment.