From: Davide Franco Date: Tue, 5 Jul 2011 06:24:21 +0000 (+0200) Subject: bacula-web: Fixed php code bug X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1ddf47892c83c6d106c0010ce9dda7d3d602c7eb;p=bacula%2Fbacula bacula-web: Fixed php code bug --- 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); }