From: hickert Date: Thu, 8 Jun 2006 05:04:44 +0000 (+0000) Subject: Fixed goFaxServer X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=23e7849cbfbf829114cb8901939b05f10912ebf6;p=gosa.git Fixed goFaxServer git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3690 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_divListSystemService.inc b/plugins/admin/systems/class_divListSystemService.inc index f50af48da..25e2ed552 100644 --- a/plugins/admin/systems/class_divListSystemService.inc +++ b/plugins/admin/systems/class_divListSystemService.inc @@ -68,6 +68,7 @@ class divListSystemService extends MultiSelectWindow function setEntries($list) { + $tmp = array(); foreach($list as $name => $entry){ $tmp[$name] = $entry['Message']; } diff --git a/plugins/admin/systems/class_goFaxServer.inc b/plugins/admin/systems/class_goFaxServer.inc index 2fec55259..71db436e1 100644 --- a/plugins/admin/systems/class_goFaxServer.inc +++ b/plugins/admin/systems/class_goFaxServer.inc @@ -114,8 +114,11 @@ class goFaxServer extends plugin{ function check() { $message = plugin::check(); - if ($this->goFaxAdmin == "" || preg_match("/ /", $this->goFaxAdmin)){ - $message[]= sprintf(_("The attribute '%s' is empty or contains invalid characters."), "goFaxAdmin"); + if (empty($this->goFaxAdmin)){ + $message[]= _("The attribute user is empty or contains invalid characters."); + } + if (empty($this->goFaxPassword)){ + $message[]= _("The attribute password is empty or contains invalid characters."); } return($message); }