summaryrefslogtreecommitdiffstats
path: root/server/report/index.php
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-05-20 14:41:20 +0200
committersijanec <sijanecantonluka@gmail.com>2020-05-20 14:41:20 +0200
commitc2bbdeb81de79f182847348da988f8cc6ca63e04 (patch)
treed99977dd5626e53ef2f0ac5902bc13d7a898b32f /server/report/index.php
parentDNM, not tested #3 (diff)
downloadbeziapp-c2bbdeb81de79f182847348da988f8cc6ca63e04.tar
beziapp-c2bbdeb81de79f182847348da988f8cc6ca63e04.tar.gz
beziapp-c2bbdeb81de79f182847348da988f8cc6ca63e04.tar.bz2
beziapp-c2bbdeb81de79f182847348da988f8cc6ca63e04.tar.lz
beziapp-c2bbdeb81de79f182847348da988f8cc6ca63e04.tar.xz
beziapp-c2bbdeb81de79f182847348da988f8cc6ca63e04.tar.zst
beziapp-c2bbdeb81de79f182847348da988f8cc6ca63e04.zip
Diffstat (limited to 'server/report/index.php')
-rw-r--r--server/report/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/report/index.php b/server/report/index.php
index 865bf02..7b48b35 100644
--- a/server/report/index.php
+++ b/server/report/index.php
@@ -31,7 +31,7 @@
msg VARCHAR(420) ,
url VARCHAR(420) ,
line INT ,
- colno INT ,
+ colno INT ,
obj VARCHAR(420) ,
ua VARCHAR(420) ,
app_version VARCHAR(420) ,
@@ -41,7 +41,7 @@
$result = mysqli_query($conn, $query);
$stmt = $conn->prepare("INSERT INTO error_reports (msg, url, line, colno, obj, ua, app_version, previous_commit, ip) VALUES".
- "(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)");
+ "(?, ?, ?, ?, ?, ?, ?, ?, ?)");
$stmt->bind_param("ssiisssss", $_REQUEST["error"]["msg"], $_REQUEST["error"]["url"], $_REQUEST["error"]["line"],
$_REQUEST["error"]["column"], $_REQUEST["error"]["obj"], $_REQUEST["client"]["ua"], $_REQUEST["client"]["app_version"],
$_REQUEST["client"]["previous_commit"], $_SERVER["REMOTE_ADDR"]);