From 4471af4120c716ca125c67cb94924346a8782715 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 25 Nov 2010 07:33:27 +0000 Subject: [PATCH] Updated error message which is shown when gofax database connections fail git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20363 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc b/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc index 5bc525bfe..c00522e9b 100644 --- a/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc +++ b/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc @@ -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!"), "".$cfg['SERVER'].":"."GOfax".""), ERROR_DIALOG); return($smarty->fetch(get_template_path('contents.tpl', TRUE))); } if (! @mysql_select_db("gofax")){ -- 2.30.2