Commit c52468611f2575b69bf1bbd673a8d5e9253e62ee

Authored by Geoffrey PREUD'HOMME
1 parent 722c6952

Obviously catched everything but what was needed

Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
@@ -18,6 +18,10 @@ try { @@ -18,6 +18,10 @@ try {
18 18
19 $resultat = mysql_query($requete); 19 $resultat = mysql_query($requete);
20 20
  21 + if (!$resultat) {
  22 + throw new Exception('Résultat vide.');
  23 + }
  24 +
21 mysql_close($link); 25 mysql_close($link);
22 ?> 26 ?>
23 27