mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
Add curly braces
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user