IdoQuery: Handle non translated customvars properly
This commit is contained in:
parent
fb9641fb3c
commit
f5554b6aa0
|
@ -872,7 +872,9 @@ abstract class IdoQuery extends DbQuery
|
|||
|
||||
protected function getCustomvarColumnName($customvar)
|
||||
{
|
||||
return $this->customVars[strtolower($customvar)] . '.varvalue';
|
||||
if (isset($this->customVars[($customvar = strtolower($customvar))])) {
|
||||
$this->customVars[strtolower($customvar)] . '.varvalue';
|
||||
}
|
||||
}
|
||||
|
||||
public function aliasToColumnName($alias)
|
||||
|
|
Loading…
Reference in New Issue