From ec1ef5e52555c42dfe8ed98a95dbd875c7f518e5 Mon Sep 17 00:00:00 2001 From: grouille Date: Mon, 20 Apr 2020 21:27:30 +0200 Subject: [PATCH] Suppression RPI + capteur --- site/accesBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/accesBase.php b/site/accesBase.php index 9fe8ff7..300cbe0 100644 --- a/site/accesBase.php +++ b/site/accesBase.php @@ -263,7 +263,7 @@ remove($capteur['nom']); } $query = "DELETE FROM raspberry WHERE ip = '$ip'"; - $result = pg_query($db, $query) or die("La requ te a echou : ".pg_last_error()); + $result = pg_query($db, $query) or die("La requ te a echou : ".pg_last_error()."ok".$ip); deconnexion($db); if (pg_affected_rows($result)!=0){ return True; -- libgit2 0.21.2