Commit 3bba672c by Langston Ball

refs #2798 - Fix incorrect floorplan command request.

1 parent 525354f3
Showing with 2 additions and 3 deletions
......@@ -748,7 +748,7 @@ function getCommandParameters($commandNumber) {
$paramArray = array();
$paramArray["device"] = array("device" => $_GET["idx"]);
$res = mysqli_query($conn, mysqli_real_escape_string($sql)) or die(mysqli_error($conn));
$res = mysqli_query($conn, mysqli_real_escape_string($conn, $sql)) or die(mysqli_error($conn));
$p1Array = array();
while ($row = mysqli_fetch_array($res)) {
......@@ -859,4 +859,4 @@ function StartsWith($Haystack, $Needle) {
// Recommended version, using strpos
return strpos($Haystack, $Needle) === 0;
}
?>
\ No newline at end of file
?>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!