From f3ee832bc3d90376e2c21c2ae759b34fc62453e8 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 31 Aug 2008 22:45:14 +0000 Subject: [PATCH] Improved register_globals handling --- pages/account/5.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pages/account/5.php b/pages/account/5.php index 1ef6aad..d20060f 100644 --- a/pages/account/5.php +++ b/pages/account/5.php @@ -15,10 +15,11 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ ?> +
- + @@ -41,10 +42,10 @@ from `emailcerts` where `emailcerts`.`memid`='".$_SESSION['profile']['id']."' "; - if($_GET['viewall'] != 1) + if($viewall != 1) $query .= " AND `revoked`=0 AND `renewed`=0 "; $query .= " GROUP BY `emailcerts`.`id` "; - if($_GET['viewall'] != 1) + if($viewall != 1) $query .= " HAVING `timeleft` > 0 "; $query .= " ORDER BY `emailcerts`.`modified` desc"; // echo $query."
\n"; @@ -93,7 +94,7 @@
- -
- +