From db15f8226c9f6b3e1f977bbaef4ab7591179b4d9 Mon Sep 17 00:00:00 2001 From: Ghislain Loas <ghislo@sandbox.pergame.net> Date: Fri, 22 Jan 2016 14:21:41 +0100 Subject: [PATCH] hotline #1415 fix rt comments --- library/Class/Localisation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/Class/Localisation.php b/library/Class/Localisation.php index 8f5ea732493..3bfc0130b59 100644 --- a/library/Class/Localisation.php +++ b/library/Class/Localisation.php @@ -253,10 +253,10 @@ class Class_Localisation extends Storm_Model_Abstract { $cote_quality = 0; if($this->hasCoteDebut() && ($item->getCote() >= $this->getCoteDebut())) - $cote_quality = $cote_quality + 1; + $cote_quality++; if($this->hasCoteFin() && ($item->getCote() <= $this->getCoteFin())) - $cote_quality = $cote_quality + 1; + $cote_quality++; return $cote_quality; } -- GitLab