From f5554b6aa05567db1c3085f921ef47df743b666f Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 18 Jun 2015 16:43:12 +0200 Subject: [PATCH] IdoQuery: Handle non translated customvars properly --- .../library/Monitoring/Backend/Ido/Query/IdoQuery.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php index 5b42ebd58..1ce089be5 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php @@ -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)