summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Froehlich <bernhard@cacert.org>2021-06-08 21:00:18 +0000
committerBernhard Froehlich <bernhard@cacert.org>2021-06-08 21:00:18 +0000
commita77f4decd53911f85bc9516f2a0980bd15d5b81b (patch)
tree3008fc41f19433fc6e4f39104bab5defc82afc7c
parentcb85dea12abda4657b14ad10f93da1ad559caf79 (diff)
downloadcacert-devel-a77f4decd53911f85bc9516f2a0980bd15d5b81b.tar.gz
cacert-devel-a77f4decd53911f85bc9516f2a0980bd15d5b81b.tar.xz
cacert-devel-a77f4decd53911f85bc9516f2a0980bd15d5b81b.zip
Undone a change from Karl-Heinz in commit a81747b7ed63126cf002ab8c587727973654fb98, unknown function g()
-rw-r--r--includes/notary.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/notary.inc.php b/includes/notary.inc.php
index 3cdbea3..f28e4cd 100644
--- a/includes/notary.inc.php
+++ b/includes/notary.inc.php
@@ -1416,7 +1416,7 @@ function write_se_log($uid, $adminid, $type, $info){
$uid = intval($uid);
$adminid = intval($adminid);
$type = mysqli_real_escape_string($_SESSION['mconn'], $type);
- $info = mysqli_real_escape_string($_SESSION['mconn'], g($info));
+ $info = mysqli_real_escape_string($_SESSION['mconn'], $info);
$query="insert into `adminlog` (`when`, `uid`, `adminid`,`type`,`information`) values
(Now(), $uid, $adminid, '$type', '$info')";
return mysqli_query($_SESSION['mconn'], $query);