From 9682096ac77c6017badcab80d64029f29af882fa Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 29 Sep 2009 06:22:19 +0000 Subject: [PATCH] fixed error handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14380 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/opsi/admin/opsiLicenses/class_opsiLicenses.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/opsi/admin/opsiLicenses/class_opsiLicenses.inc b/gosa-plugins/opsi/admin/opsiLicenses/class_opsiLicenses.inc index 8c1c09c65..3884f7783 100644 --- a/gosa-plugins/opsi/admin/opsiLicenses/class_opsiLicenses.inc +++ b/gosa-plugins/opsi/admin/opsiLicenses/class_opsiLicenses.inc @@ -293,9 +293,9 @@ class opsiLicenses extends plugin $si = new opsiLicenceHandler($this->config); $this->licenses = array(); $res = $si->listPools(); - if($this->si->is_error() || !$res){ + if($si->is_error() || !$res){ $this->init_successfull = FALSE; - msg_dialog::display(_("Error"),msgPool::siError($this->si->get_error()),ERROR_DIALOG); + msg_dialog::display(_("Error"),msgPool::siError($si->get_error()),ERROR_DIALOG); return; }else{ -- 2.30.2