From 28a0884203630de52bcc0e0b79109206a191948c Mon Sep 17 00:00:00 2001 From: Florian Lefevre Date: Sun, 13 Apr 2014 17:51:24 +0200 Subject: [PATCH] Solving #121 --- src/mgate/PubliBundle/Manager/TwigExtensionManager.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mgate/PubliBundle/Manager/TwigExtensionManager.php b/src/mgate/PubliBundle/Manager/TwigExtensionManager.php index a76cb459c..65e334d22 100644 --- a/src/mgate/PubliBundle/Manager/TwigExtensionManager.php +++ b/src/mgate/PubliBundle/Manager/TwigExtensionManager.php @@ -55,11 +55,11 @@ public function liaison($mot, $entiere = 'de', $contractee = null){ } - public function pluriel($mot, $nbr, $pluriel = 's', $simple = ''){ + public function pluriel($nbr, $pluriel = 's', $simple = ''){ if($nbr > 1) - return $mot.$pluriel; + return $pluriel; else - return $mot.$simple; + return $simple; } }