summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Fröhlich <bernhard@cacert.org>2018-11-19 23:32:21 +0100
committerBernhard Fröhlich <bernhard@cacert.org>2018-11-19 23:32:21 +0100
commitd6ce5013d5388da971ea89282be3bb3ae2ba69cb (patch)
tree0e81e09d115d6002e0a9d0285b4255846f25dedb
parent4ff6326c74ec504126a6fb6946aa07a513a77599 (diff)
downloadcacert-devel-d6ce5013d5388da971ea89282be3bb3ae2ba69cb.tar.gz
cacert-devel-d6ce5013d5388da971ea89282be3bb3ae2ba69cb.tar.xz
cacert-devel-d6ce5013d5388da971ea89282be3bb3ae2ba69cb.zip
typo fixed
-rw-r--r--includes/notary.inc.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/notary.inc.php b/includes/notary.inc.php
index b614379..3cdbea3 100644
--- a/includes/notary.inc.php
+++ b/includes/notary.inc.php
@@ -1106,7 +1106,7 @@ function get_user_agreements($memid, $type=null, $active=null){
//called from account_delete
$domainid = intval($domainid);
revoke_all_server_cert($domainid);
- mysqli_query($_SESSION['mconn'],
+ mysqli_query($_SESSION['mconn'],
"update `domains`
set `deleted`=NOW()
where `id` = '$domainid'");
@@ -1154,7 +1154,7 @@ function get_user_agreements($memid, $type=null, $active=null){
}
//clear alert settings
- mysqli_query($_SESSION['mconn'],
+ mysqli_query($_SESSION['mconn'],
"update `alerts` set
`general`='0',
`country`='0',
@@ -1199,7 +1199,7 @@ function get_user_agreements($memid, $type=null, $active=null){
mysqli_query($_SESSION['mconn'], $query);
//clear all admin and board flags
- mysqli_query($_SESSION['mconn'],
+ mysqli_query($_SESSION['mconn'],
"update `users` set
`assurer`='0',
`assurer_blocked`='0',
@@ -1332,7 +1332,7 @@ function get_user_agreements($memid, $type=null, $active=null){
$dres = mysqli_query($_SESSION['mconn'], $query);
while($drow = mysqli_fetch_assoc($dres))
{
- mysqli_query($_SESSION['mconn'],
+ mysqli_query($_SESSION['mconn'],
"update `domaincerts`
set `revoked`='1970-01-01 10:00:01'
where `id` = '".$drow['id']."'
@@ -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'], g($info));
$query="insert into `adminlog` (`when`, `uid`, `adminid`,`type`,`information`) values
(Now(), $uid, $adminid, '$type', '$info')";
return mysqli_query($_SESSION['mconn'], $query);