summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-06-23 22:51:31 +0200
committerINOPIAE <inopiae@cacert.org>2013-06-23 22:51:31 +0200
commit8dffbe94dff928a0c6290eb998ebd540af0b62f9 (patch)
treeb98da39e57c113495e88dc956e86b79eb2d5acc9
parent4c282894a952d1fcd8f61c8fc6cd5ba502140100 (diff)
downloadcacert-devel-8dffbe94dff928a0c6290eb998ebd540af0b62f9.tar.gz
cacert-devel-8dffbe94dff928a0c6290eb998ebd540af0b62f9.tar.xz
cacert-devel-8dffbe94dff928a0c6290eb998ebd540af0b62f9.zip
bug 782: moved definition of $description to a different place
-rw-r--r--www/gpg.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/www/gpg.php b/www/gpg.php
index b7c9989..c69689a 100644
--- a/www/gpg.php
+++ b/www/gpg.php
@@ -248,15 +248,15 @@ function verifyEmail($email)
$resulttable.="</tr>\n";
if($emailok) $multiple++;
-
- if(trim($_REQUEST['description']) == ""){
- $description= trim(mysql_real_escape_string(stripslashes($_REQUEST['description'])));
- }else{
- $description= "";
- }
}
$resulttable.="</table>";
+ //set variable for comment
+ if(trim($_REQUEST['description']) == ""){
+ $description= trim(mysql_real_escape_string(stripslashes($_REQUEST['description'])));
+ }else{
+ $description= "";
+ }
if($nok==0)
{