bug 782: Also insert description field if
authorMichael Tänzer <neo@nhng.de>
Sat, 15 Jun 2013 11:42:42 +0000 (13:42 +0200)
committerMichael Tänzer <neo@nhng.de>
Sat, 15 Jun 2013 11:42:42 +0000 (13:42 +0200)
$_SESSION['_config']['rowid']['0'] > 0

Signed-off-by: Michael Tänzer <neo@nhng.de>
includes/account.php

index c2db9e6..1bf6961 100644 (file)
                                        `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']."',