diff options
| author | Nathan Guse <nathaniel.guse@gmail.com> | 2013-07-05 10:05:20 -0500 |
|---|---|---|
| committer | Nathan Guse <nathaniel.guse@gmail.com> | 2013-07-05 10:05:20 -0500 |
| commit | 81f0715b8ef89e3a03a285a0c0f4639351449e9a (patch) | |
| tree | bd8741d4dacc92a864415ecf5936576a5b300085 /phpBB/includes | |
| parent | 2674740573a226dae36dc81faf8eb5453e01a31d (diff) | |
| download | forums-81f0715b8ef89e3a03a285a0c0f4639351449e9a.tar forums-81f0715b8ef89e3a03a285a0c0f4639351449e9a.tar.gz forums-81f0715b8ef89e3a03a285a0c0f4639351449e9a.tar.bz2 forums-81f0715b8ef89e3a03a285a0c0f4639351449e9a.tar.xz forums-81f0715b8ef89e3a03a285a0c0f4639351449e9a.zip | |
[feature/twig] Clarify comment
PHPBB3-11598
Diffstat (limited to 'phpBB/includes')
| -rw-r--r-- | phpBB/includes/template/twig/extension.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/template/twig/extension.php b/phpBB/includes/template/twig/extension.php index e23dd4f119..6b066f1bd3 100644 --- a/phpBB/includes/template/twig/extension.php +++ b/phpBB/includes/template/twig/extension.php @@ -139,7 +139,7 @@ class phpbb_template_twig_extension extends Twig_Extension */ function loop_subset(Twig_Environment $env, $item, $start, $end = null, $preserveKeys = false) { - // We do almost the same thing as array_slice, except when $end is positive + // We do almost the same thing as Twig's slice (array_slice), except when $end is positive if ($end >= 1) { // When end is > 1, subset will end on the last item in an array with the specified $end |
