diff --git a/include/lib/class_database.php b/include/lib/class_database.php index bd24ce984..3d6184a23 100644 --- a/include/lib/class_database.php +++ b/include/lib/class_database.php @@ -105,6 +105,8 @@ class Database else { echo '

Erreur de connexion !

'; + $this->is_open=false; + return; } } $this->db=$a;