From 90dbcdbbfb6924782da116727c4d66ee29e40486 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 19 Sep 2014 14:29:29 +0200 Subject: [PATCH] The stupid `DbQuery::isTimestamp()' hack must return false This a fix for modules using our query / filter combination since `return $this;' renders all columns as timestamps. --- library/Icinga/Data/Db/DbQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Data/Db/DbQuery.php b/library/Icinga/Data/Db/DbQuery.php index a89544be8..b701f3ac0 100644 --- a/library/Icinga/Data/Db/DbQuery.php +++ b/library/Icinga/Data/Db/DbQuery.php @@ -223,7 +223,7 @@ class DbQuery extends SimpleQuery */ public function isTimestamp($field) { - return $this; + return false; } public function whereToSql($col, $sign, $expression)