From 1ddf47892c83c6d106c0010ce9dda7d3d602c7eb Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Tue, 5 Jul 2011 08:24:21 +0200 Subject: [PATCH] bacula-web: Fixed php code bug --- gui/bacula-web/includes/bweb.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/bacula-web/includes/bweb.inc.php b/gui/bacula-web/includes/bweb.inc.php index 767aab7e56..10bea91363 100644 --- a/gui/bacula-web/includes/bweb.inc.php +++ b/gui/bacula-web/includes/bweb.inc.php @@ -65,10 +65,10 @@ class Bweb extends DB $this->db_link = $this->connect( $dsn, $options ); if (DB::isError($this->db_link)) { - $this->TriggerDBError("Unable to connect to catalog', $this->db_link); + $this->TriggerDBError('Unable to connect to catalog', $this->db_link); }else { $this->driver = $dsn['phptype']; - register_shutdown_function(array(&$this,'close') ); + register_shutdown_function(array(&$this,'close') ); $this->db_link->setFetchMode(DB_FETCHMODE_ASSOC); } -- 2.39.5