avoid MySQL error to be displayed

This commit is contained in:
Loïc Chapeaux
2001-10-27 13:34:39 +00:00
parent e05b6a578e
commit b2a59e1929

View File

@@ -9,10 +9,10 @@
* Close MySql connections
*/
if (isset($dbh) && $dbh) {
mysql_close($dbh);
@mysql_close($dbh);
}
if (isset($userlink) && $userlink) {
mysql_close($userlink);
@mysql_close($userlink);
}
?>