Skip to content

Commit

Permalink
Update funcoes.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Breno-S committed Dec 5, 2023
1 parent 1cc5b5f commit bb4d219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/funcoes.php
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ function get_doorsense($conn, $id) {

function get_all_doorsenses($conn) {
// String de consulta
$sql = "SELECT * FROM arduino LEFT JOIN salas ON FK_ARDUINO = ID_ARDUINO";
$sql = "SELECT * FROM arduino LEFT JOIN sala ON FK_ARDUINO = ID_ARDUINO";

// Execução da consulta
if ($result = mysqli_query($conn, $sql)) {
Expand Down

0 comments on commit bb4d219

Please sign in to comment.