bug 782: Also insert description field if
[cacert-devel.git] / 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']."',