From 45850f554f048a3693ebc53d7d2db78e9bc4dd05 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 30 Dec 2012 16:51:54 +0100 Subject: [PATCH] fixed wrong version in the docs --- doc/templates.rst | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/templates.rst b/doc/templates.rst index e45b7a8..93f3108 100644 --- a/doc/templates.rst +++ b/doc/templates.rst @@ -722,8 +722,8 @@ tests. Other Operators ~~~~~~~~~~~~~~~ -.. versionadded:: 1.11.2 - Support for the extended ternary operator was added in Twig 1.11.2. +.. versionadded:: 1.12.0 + Support for the extended ternary operator was added in Twig 1.12.0. The following operators are very useful but don't fit into any of the other categories: @@ -746,7 +746,7 @@ categories: {{ foo ? 'yes' : 'no' }} - {# as of Twig 1.11.2 #} + {# as of Twig 1.12.0 #} {{ foo ?: 'no' }} == {{ foo ? foo : 'no' }} {{ foo ? 'yes' }} == {{ foo ? 'yes' : '' }} -- 1.7.2.5