[icinga-checkins] icinga.org: icinga-api/master: * Fixed typos (thx to ssm, fixes #1388)

git at icinga.org git at icinga.org
Thu Apr 14 07:43:03 CEST 2011


Module: icinga-api
Branch: master
Commit: 362589ad5815c75d60df950625f494590fe69f9f
URL:    https://git.icinga.org/?p=icinga-api.git;a=commit;h=362589ad5815c75d60df950625f494590fe69f9f

Author: jmosshammer <jannis.mosshammer at netways.de>
Date:   Thu Apr 14 07:42:30 2011 +0200

* Fixed typos (thx to ssm, fixes #1388)

---

 .../data_interfaces/IcingaApiSearchIdoPgsql.php    |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/objects/search/data_interfaces/IcingaApiSearchIdoPgsql.php b/objects/search/data_interfaces/IcingaApiSearchIdoPgsql.php
index 8032bca..65283d5 100644
--- a/objects/search/data_interfaces/IcingaApiSearchIdoPgsql.php
+++ b/objects/search/data_interfaces/IcingaApiSearchIdoPgsql.php
@@ -80,7 +80,7 @@ class IcingaApiSearchIdoPgsql
 			${if_table:osg,sg,sgm:left join ${TABLE_PREFIX}objects AS osg on osg.object_id = sg.servicegroup_object_id}
 			${if_table:hgm,oh,s:inner join ${TABLE_PREFIX}hostgroup_members AS hgm on hgm.host_object_id = oh.object_id}
 			${if_table:hg,hgm,oh,s:inner join ${TABLE_PREFIX}hostgroups AS hg on hg.hostgroup_id = hgm.hostgroup_id}
-			${if_table:ohg,hg,hgm,oh,s:inner join ${TABLE_PREFIX}objects ohg AS on ohg.object_id = hg.hostgroup_object_id}
+			${if_table:ohg,hg,hgm,oh,s:inner join ${TABLE_PREFIX}objects AS ohg on ohg.object_id = hg.hostgroup_object_id}
 			${if_table:cvsh,oh,s:inner join ${TABLE_PREFIX}customvariablestatus AS cvsh on oh.object_id = cvsh.object_id}
 			${if_table:cvss:inner join ${TABLE_PREFIX}customvariablestatus AS cvss on os.object_id = cvss.object_id}
 			${if_table:cvsc,oc,cgm,cg,scg,s:inner join ${TABLE_PREFIX}customvariablestatus AS cvsc on oc.object_id = cvsc.object_id}
@@ -301,7 +301,7 @@ class IcingaApiSearchIdoPgsql
 			from
 				${TABLE_PREFIX}notifications AS n
 			inner join ${TABLE_PREFIX}objects AS obn on obn.object_id = n.object_id and obn.is_active = 1
-			${if_table:s,on:left join ${TABLE_PREFIX}service ASs s on s.service_object_id = obn.object_id}
+			${if_table:s,on:left join ${TABLE_PREFIX}service AS s on s.service_object_id = obn.object_id}
 			${if_table:h,s,on:left join ${TABLE_PREFIX}hosts AS h on h.host_object_id = obn.object_id or h.host_object_id = s.host_object_id}
 			${if_table:oh,h,s,on:left join ${TABLE_PREFIX}objects AS oh on oh.object_id = h.host_object_id}
 			${if_table:os,s,on:left join ${TABLE_PREFIX}objects AS os on os.object_id = s.service_object_id}





More information about the icinga-checkins mailing list