From eeb4fbb4d00dce2d3f6bb239aaf487fcb438579d Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 30 Apr 2010 11:41:43 +0000 Subject: [PATCH] Updated ppd dialog again -Display warnings about 'unsupported' properties only when displayErrors is true. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@17994 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc b/gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc index 3da4d8548..46354cd28 100644 --- a/gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc +++ b/gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc @@ -528,7 +528,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"; -- 2.30.2