summaryrefslogtreecommitdiff
path: root/includes/account.php
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2012-11-14 22:50:12 +0100
committerINOPIAE <inopiae@cacert.org>2012-11-14 22:50:12 +0100
commite6dee64e0f3b03060c6c0443b9bba090061db54e (patch)
tree5dfe7b1e74ae7c132d062c70a18f71f50866c488 /includes/account.php
parent3ecae0b73b5a750e7853838b3bded110011536e5 (diff)
downloadcacert-devel-e6dee64e0f3b03060c6c0443b9bba090061db54e.tar.gz
cacert-devel-e6dee64e0f3b03060c6c0443b9bba090061db54e.tar.xz
cacert-devel-e6dee64e0f3b03060c6c0443b9bba090061db54e.zip
Bug 782: fixed layout, change of comment not yet realised in overview 5.php
Diffstat (limited to 'includes/account.php')
-rw-r--r--includes/account.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/account.php b/includes/account.php
index 2f57bf9..249a6b9 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -239,7 +239,7 @@
$_REQUEST['keytype'] = "MS";
$csr = clean_csr($_REQUEST['optionalCSR']);
}
- if(trim($_REQUEST['description']) == ""){
+ if(trim($_REQUEST['description']) != ""){
$_SESSION['_config']['description']= trim(mysql_real_escape_string(stripslashes($_REQUEST['description'])));
}else{
$_SESSION['_config']['description']= "";
@@ -660,7 +660,7 @@
exit;
}
- if(trim($_REQUEST['description']) == ""){
+ if(trim($_REQUEST['description']) != ""){
$_SESSION['_config']['description']= trim(mysql_real_escape_string(stripslashes($_REQUEST['description'])));
}else{
$_SESSION['_config']['description']= "";
@@ -1390,7 +1390,7 @@
$_SESSION['_config']['OU'] = mysql_real_escape_string(stripslashes(trim($_REQUEST['OU'])));
- if(trim($_REQUEST['description']) == ""){
+ if(trim($_REQUEST['description']) != ""){
$_SESSION['_config']['description']= trim(mysql_real_escape_string(stripslashes($_REQUEST['description'])));
}else{
$_SESSION['_config']['description']= "";
@@ -1424,7 +1424,7 @@
if($_SESSION['_config']['rootcert'] < 1 || $_SESSION['_config']['rootcert'] > 2)
$_SESSION['_config']['rootcert'] = 1;
- if(trim($_REQUEST['description']) == ""){
+ if(trim($_REQUEST['description']) != ""){
$_SESSION['_config']['description']= trim(mysql_real_escape_string(stripslashes($_REQUEST['description'])));
}else{
$_SESSION['_config']['description']= "";
@@ -1766,7 +1766,7 @@
exit;
}
- if(trim($_REQUEST['description']) == ""){
+ if(trim($_REQUEST['description']) != ""){
$_SESSION['_config']['description']= trim(mysql_real_escape_string(stripslashes($_REQUEST['description'])));
}else{
$_SESSION['_config']['description']= "";