[icinga-checkins] icinga.org: icinga-web/master: * Fixed old IcingaApi definition breaking ObjectSearch

git at icinga.org git at icinga.org
Thu Aug 11 14:04:54 CEST 2011


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

Author: Jannis Mosshammer <jannis.mosshammer at netways.de>
Date:   Wed Aug 10 10:56:17 2011 +0200

* Fixed old IcingaApi definition breaking ObjectSearch

---

 .../System/ObjectSearchResultModel.class.php       |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/app/modules/Cronks/models/System/ObjectSearchResultModel.class.php b/app/modules/Cronks/models/System/ObjectSearchResultModel.class.php
index d35ffaa..b117e50 100644
--- a/app/modules/Cronks/models/System/ObjectSearchResultModel.class.php
+++ b/app/modules/Cronks/models/System/ObjectSearchResultModel.class.php
@@ -203,7 +203,7 @@ class Cronks_System_ObjectSearchResultModel extends CronksBaseModel {
         return $out;
     }
 
-    private function resultToArray(IcingaApiResult &$res, array $fieldDef, $type) {
+    private function resultToArray(&$res, array $fieldDef, $type) {
         $array = array();
 
         foreach($res as $oRow) {





More information about the icinga-checkins mailing list