diff --git a/pages/gpg/2.php b/pages/gpg/2.php index 93d9a31..e10935e 100644 --- a/pages/gpg/2.php +++ b/pages/gpg/2.php @@ -30,7 +30,7 @@ UNIX_TIMESTAMP(`expire`) - UNIX_TIMESTAMP() as `timeleft`, UNIX_TIMESTAMP(`expire`) as `expired`, `expire` as `expires`, `id`, `level`, - `email`,`keyid` from `gpg` where `memid`='".$_SESSION[profile][id]."' + `email`,`keyid` from `gpg` where `memid`='".intval($_SESSION['profile']['id'])."' ORDER BY `issued` desc"; $res = mysql_query($query); if(mysql_num_rows($res) <= 0) @@ -52,16 +52,16 @@ - + - + - - + +