summaryrefslogtreecommitdiffstats
path: root/server/report/index.php
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-05-20 14:39:51 +0200
committersijanec <sijanecantonluka@gmail.com>2020-05-20 14:39:51 +0200
commit055622954307c9090a94ce0c84103258849d4dc5 (patch)
tree72fee50754db457d7ea48e0dcbec93d9e53272d7 /server/report/index.php
parentDNM, not tested #2 (diff)
downloadbeziapp-055622954307c9090a94ce0c84103258849d4dc5.tar
beziapp-055622954307c9090a94ce0c84103258849d4dc5.tar.gz
beziapp-055622954307c9090a94ce0c84103258849d4dc5.tar.bz2
beziapp-055622954307c9090a94ce0c84103258849d4dc5.tar.lz
beziapp-055622954307c9090a94ce0c84103258849d4dc5.tar.xz
beziapp-055622954307c9090a94ce0c84103258849d4dc5.tar.zst
beziapp-055622954307c9090a94ce0c84103258849d4dc5.zip
Diffstat (limited to '')
-rw-r--r--server/report/index.php2
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".
"(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)");