From: hickert Date: Tue, 29 Sep 2009 06:22:19 +0000 (+0000) Subject: fixed error handling X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9682096ac77c6017badcab80d64029f29af882fa;p=gosa.git fixed error handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14380 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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{