Commit f8668bda9a70a64733af24fd22ff9be78bdc0a28

Authored by grouille
1 parent 47dd252e

Suppression RPI + capteur

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
site/accesBase.php
... ... @@ -264,7 +264,7 @@
264 264 }
265 265 $db = connexion();
266 266 $query = "DELETE FROM raspberry WHERE ip = '$ip'";
267   - $result = pg_query($db, $query) or die("La requ te a echou : ".pg_last_error().$query);
  267 + $result = pg_query($db, $query) or die("La requ te a echou : ".pg_last_error());
268 268 deconnexion($db);
269 269 if (pg_affected_rows($result)!=0){
270 270 return True;
... ...