From f8668bda9a70a64733af24fd22ff9be78bdc0a28 Mon Sep 17 00:00:00 2001 From: grouille Date: Mon, 20 Apr 2020 21:32:34 +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 2cdc903..c6c7bb9 100644 --- a/site/accesBase.php +++ b/site/accesBase.php @@ -264,7 +264,7 @@ } $db = connexion(); $query = "DELETE FROM raspberry WHERE ip = '$ip'"; - $result = pg_query($db, $query) or die("La requ te a echou : ".pg_last_error().$query); + $result = pg_query($db, $query) or die("La requ te a echou : ".pg_last_error()); deconnexion($db); if (pg_affected_rows($result)!=0){ return True; -- libgit2 0.21.2