GITLAB
LeClubInfo
/
crep
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Issues
0
Merge Requests
0
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
c52468611f2575b69bf1bbd673a8d5e9253e62ee
Authored by
Geoffrey PREUD'HOMME
2015-03-23 17:18:16 +0100
1 parent
722c6952
Obviously catched everything but what was needed
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
pages/schools.php
Inline
Side-by-side
pages/schools.php
Wrap text
Show/Hide comments
View file @
c524686
...
...
@@ -18,6 +18,10 @@ try {
18
18
19
19
$resultat = mysql_query($requete);
20
20
21
+ if (!$resultat) {
22
+ throw new Exception('Résultat vide.');
23
+ }
24
+
21
25
mysql_close($link);
22
26
?>
23
27
...
...