diff options
author | Benny Baumann <BenBE@geshi.org> | 2014-06-06 19:54:51 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2014-06-06 19:54:51 +0200 |
commit | 95af242992dd8250c14518cb067ae2b094e2cb8a (patch) | |
tree | e545aacb2249b92bd1cb268b320bab5aa4185052 | |
parent | 24d8235f875f9ecff3198e3f0cf8d450beae1989 (diff) | |
parent | 9121cc72afd46a4737f6633133873c6d826a5b51 (diff) | |
download | cacert-devel-95af242992dd8250c14518cb067ae2b094e2cb8a.tar.gz cacert-devel-95af242992dd8250c14518cb067ae2b094e2cb8a.tar.xz cacert-devel-95af242992dd8250c14518cb067ae2b094e2cb8a.zip |
Merge branch 'bug-372' into release
-rw-r--r-- | includes/account.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/account.php b/includes/account.php index 7e9ee2a..25e2608 100644 --- a/includes/account.php +++ b/includes/account.php @@ -2079,7 +2079,7 @@ function buildSubjectFromSession() { echo _("Renewing").": ".$row['CN']."<br>\n"; $res = mysql_query("select * from `orgdomlink` where `orgcertid`='".$row['id']."'"); while($r2 = mysql_fetch_assoc($res)) - mysql_query("insert into `orgdomlink` set `orgdomid`='".$r2['id']."', `orgcertid`='$newid'"); + mysql_query("insert into `orgdomlink` set `orgdomid`='".intval($r2['orgdomid'])."', `orgcertid`='$newid'"); waitForResult("orgdomaincerts", $newid,$oldid,0); $query = "select * from `orgdomaincerts` where `id`='$newid' and `crt_name` != ''"; $res = mysql_query($query); |