summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/gpg.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/gpg.php b/www/gpg.php
index a8b31fb..317072c 100644
--- a/www/gpg.php
+++ b/www/gpg.php
@@ -276,9 +276,9 @@ function verifyEmail($email)
{
//set variable for comment
if(trim($_REQUEST['description']) == ""){
- $description= trim(mysql_real_escape_string(stripslashes($_REQUEST['description'])));
- }else{
$description= "";
+ }else{
+ $description= trim(mysql_real_escape_string(stripslashes($_REQUEST['description'])));
}
$query = "insert into `gpg` set `memid`='".intval($_SESSION['profile']['id'])."',