diff options
author | Michael Tänzer <neo@nhng.de> | 2013-06-15 13:42:42 +0200 |
---|---|---|
committer | Michael Tänzer <neo@nhng.de> | 2013-06-15 13:42:42 +0200 |
commit | 752a538d83eb4f4d5699e09fb66f015c3d3482f9 (patch) | |
tree | 637526a651b13f09cd9b5edf3b58bbdcf87a6c6c | |
parent | eac1f92e5f27e7c65dfb624744666091ccab328f (diff) | |
download | cacert-devel-752a538d83eb4f4d5699e09fb66f015c3d3482f9.tar.gz cacert-devel-752a538d83eb4f4d5699e09fb66f015c3d3482f9.tar.xz cacert-devel-752a538d83eb4f4d5699e09fb66f015c3d3482f9.zip |
bug 782: Also insert description field if
$_SESSION['_config']['rowid']['0'] > 0
Signed-off-by: Michael Tänzer <neo@nhng.de>
-rw-r--r-- | includes/account.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/account.php b/includes/account.php index c2db9e6..1bf6961 100644 --- a/includes/account.php +++ b/includes/account.php @@ -1988,7 +1988,8 @@ `created`=NOW(), `subject`='$csrsubject', `rootcert`='".$_SESSION['_config']['rootcert']."', - `type`='$type'"; + `type`='$type', + `description`='".$_SESSION['_config']['description']."'"; } else { $query = "insert into `orgdomaincerts` set `CN`='".$_SESSION['_config']['altrows']['0']."', |