summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e71e6aa)
raw | patch | inline | side by side (parent: e71e6aa)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 30 Apr 2010 11:38:45 +0000 (11:38 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 30 Apr 2010 11:38:45 +0000 (11:38 +0000) |
-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
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17993 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc b/gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc
index cbf797921e73f441eb6f2576b35a90388605bc33..41aeeb3650030460cf15134c18a964fef55ba55b 100644 (file)
}
$str .= "</select>\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 .= "</td></tr>\n";