summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2014-01-20 09:23:53 +0100
committerINOPIAE <inopiae@cacert.org>2014-01-20 09:23:53 +0100
commita8ad88d816358d70dbaff28f587bdb258a7e5391 (patch)
tree9c9330eb9c260a3d87bc8f62d79a25ed2e2e6e85
parentb0dc6c5dc611f869bd3ac23ddf504dab561f8b21 (diff)
downloadcacert-devel-a8ad88d816358d70dbaff28f587bdb258a7e5391.tar.gz
cacert-devel-a8ad88d816358d70dbaff28f587bdb258a7e5391.tar.xz
cacert-devel-a8ad88d816358d70dbaff28f587bdb258a7e5391.zip
bug 1138: fixed sql statemanets
-rw-r--r--includes/notary.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/notary.inc.php b/includes/notary.inc.php
index 2b2fbe6..aaee304 100644
--- a/includes/notary.inc.php
+++ b/includes/notary.inc.php
@@ -1138,8 +1138,8 @@ function write_se_log($uid, $adminid, $type, $info){
$adminid = intval($adminid);
$type = mysql_real_escape_string($type);
$info = mysql_real_escape_string($info);
- $query="insert into `adminlog` (`when`, `uid`, `admind`,`type`,`information`) values
- (Now(), $uid, $adminid, '$type', '$info'";
+ $query="insert into `adminlog` (`when`, `uid`, `adminid`,`type`,`information`) values
+ (Now(), $uid, $adminid, '$type', '$info')";
mysql_query($query);
}