Commit 5f9195af185b4cd83558dc925578c47191810107
1 parent
ec1ef5e5
Suppression RPI + capteur
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
site/accesBase.php
... | ... | @@ -263,7 +263,7 @@ |
263 | 263 | remove($capteur['nom']); |
264 | 264 | } |
265 | 265 | $query = "DELETE FROM raspberry WHERE ip = '$ip'"; |
266 | - $result = pg_query($db, $query) or die("La requ te a echou : ".pg_last_error()."ok".$ip); | |
266 | + $result = pg_query($db, $query) or die("La requ te a echou : ".pg_last_error().$query); | |
267 | 267 | deconnexion($db); |
268 | 268 | if (pg_affected_rows($result)!=0){ |
269 | 269 | return True; | ... | ... |