summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-05-20 14:34:49 +0200
committersijanec <sijanecantonluka@gmail.com>2020-05-20 14:34:49 +0200
commit9eae85e3a223eee2b394e44b1d2c3bc6779b7119 (patch)
tree08e9581986a7d3884f5d547ce269958e10cfd86e /server
parentDNM, not tested (diff)
downloadbeziapp-9eae85e3a223eee2b394e44b1d2c3bc6779b7119.tar
beziapp-9eae85e3a223eee2b394e44b1d2c3bc6779b7119.tar.gz
beziapp-9eae85e3a223eee2b394e44b1d2c3bc6779b7119.tar.bz2
beziapp-9eae85e3a223eee2b394e44b1d2c3bc6779b7119.tar.lz
beziapp-9eae85e3a223eee2b394e44b1d2c3bc6779b7119.tar.xz
beziapp-9eae85e3a223eee2b394e44b1d2c3bc6779b7119.tar.zst
beziapp-9eae85e3a223eee2b394e44b1d2c3bc6779b7119.zip
Diffstat (limited to 'server')
-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 6763a29..b81c7f7 100644
--- a/server/report/index.php
+++ b/server/report/index.php
@@ -31,7 +31,7 @@
msg VARCHAR(420) ,
url VARCHAR(420) ,
line INT ,
- column INT ,
+ colno INT ,
obj VARCHAR(420) ,
ua VARCHAR(420) ,
app_version VARCHAR(420) ,
@@ -40,7 +40,7 @@
)";
$result = mysqli_query($dbConnection, $conn);
- $stmt = $conn->prepare("INSERT INTO error_reports (msg, url, line, column, obj, ua, app_version, previous_commit, ip) VALUES".
+ $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"],