From: Davide Franco Date: Tue, 5 Jul 2011 06:24:21 +0000 (+0200) Subject: bacula-web: Fixed php code bug X-Git-Tag: Release-5.2.1~237 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2639f81c585bf04f862f3e882a504d7412b88a43;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); }