diff --git a/core/cmdbsource.class.inc.php b/core/cmdbsource.class.inc.php index f29c64fa2..f0b45c12c 100644 --- a/core/cmdbsource.class.inc.php +++ b/core/cmdbsource.class.inc.php @@ -56,7 +56,7 @@ class CMDBSource self::$m_sDBUser = $sUser; self::$m_sDBPwd = $sPwd; self::$m_sDBName = $sSource; - if (!self::$m_resDBLink = @mysql_connect($sServer, $sUser, $sPwd)) + if (!self::$m_resDBLink = mysql_connect($sServer, $sUser, $sPwd)) { throw new MySQLException('Could not connect to the DB server', array('host'=>$sServer, 'user'=>$sUser)); }