From: hickert Date: Fri, 30 Apr 2010 11:38:45 +0000 (+0000) Subject: Updated ppd editor. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d6939da6724b84ffad9aaab6e409b606a5c6bbb8;p=gosa.git Updated ppd editor. -Do not display warnings about unsupported parameter while displayErrors is false. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17993 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc b/gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc index cbf797921..41aeeb365 100644 --- a/gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc +++ b/gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc @@ -532,7 +532,7 @@ class printerPPDDialog extends plugin } $str .= "\n"; - }else{ + }elseif($this->config->get_cfg_value("displayerrors") == "true"){ msg_dialog::display(_("PPD error"), sprintf(_("PPD type '%s' is not supported!"), $type), ERROR_DIALOG); } $str .= "\n";