diff options
-rw-r--r-- | server/report/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/report/index.php b/server/report/index.php index b81c7f7..865bf02 100644 --- a/server/report/index.php +++ b/server/report/index.php @@ -38,7 +38,7 @@ previous_commit VARCHAR(69) , ip VARCHAR(69) , )"; - $result = mysqli_query($dbConnection, $conn); + $result = mysqli_query($conn, $query); $stmt = $conn->prepare("INSERT INTO error_reports (msg, url, line, colno, obj, ua, app_version, previous_commit, ip) VALUES". "(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"); |