Code

Updated error message which is shown when gofax database connections fail
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 25 Nov 2010 07:33:27 +0000 (07:33 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 25 Nov 2010 07:33:27 +0000 (07:33 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20363 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc

index 5bc525bfee567e4b0564e954b162a908b015f492..c00522e9bd48e86ab5639ba036a62556ab22cf6f 100644 (file)
@@ -135,7 +135,7 @@ class faxreport extends plugin
             $link      = @mysql_pconnect($cfg['SERVER'], $cfg['LOGIN'], $cfg['PASSWORD']);
             if ($link === FALSE){
                 msg_dialog::display(_("Error"), sprintf(
-                    _("Cannot connect to %s database!"), "GOfax"), ERROR_DIALOG);
+                    _("Cannot connect to %s database!"), "<b>".$cfg['SERVER'].":"."GOfax"."</b>"), ERROR_DIALOG);
                 return($smarty->fetch(get_template_path('contents.tpl', TRUE)));
             }
             if (! @mysql_select_db("gofax")){