[icinga-checkins] icinga.org: icinga-web/master: * Fix for sanitize the doctrine-way

git at icinga.org git at icinga.org
Mon Feb 6 16:56:20 CET 2012


Module: icinga-web
Branch: master
Commit: 750b469e878d0d96d9a3d17efe9db69f7960c15b
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=750b469e878d0d96d9a3d17efe9db69f7960c15b

Author: Marius Hein <marius.hein at netways.de>
Date:   Mon Feb  6 16:54:29 2012 +0100

* Fix for sanitize the doctrine-way

---

 .../lib/database/IcingaDoctrine_Query.class.php    |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/app/modules/Api/lib/database/IcingaDoctrine_Query.class.php b/app/modules/Api/lib/database/IcingaDoctrine_Query.class.php
index 1261668..5029193 100644
--- a/app/modules/Api/lib/database/IcingaDoctrine_Query.class.php
+++ b/app/modules/Api/lib/database/IcingaDoctrine_Query.class.php
@@ -59,6 +59,7 @@ class IcingaDoctrine_Query extends Doctrine_Query {
      */
     public function addFilter(IcingaIDoctrineQueryFilter $filter) {
         $this->filterChain->add($filter);
+        return $this;
     }
     
     /**





More information about the icinga-checkins mailing list