From 41bba82d32fae45859bfcc6435caf76bb4cbfa64 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 3 Sep 2008 16:12:17 +0000 Subject: [PATCH] Improved register_globals, improved HTML compliance --- pages/gpg/2.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 @@ - + - + - - + +