Add curly braces

This commit is contained in:
Romain Neutron
2012-04-26 01:55:12 +02:00
parent ade22295ad
commit 33b10d6746
86 changed files with 2969 additions and 2698 deletions

View File

@@ -113,10 +113,11 @@ class module_report_sql
public function getTransQuery($champ)
{
$tanslation = $this->filter->getCorFilter();
if (array_key_exists($champ, $tanslation))
if (array_key_exists($champ, $tanslation)) {
return $tanslation[$champ];
else
} else {
return $champ;
}
}
/**