cvs: pearweb /public_html account-edit.php

From: Date: Mon, 28 Jan 2002 19:01:25 +0000
Subject: cvs: pearweb /public_html account-edit.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-2217@lists.php.net to get a copy of this message
jan Mon Jan 28 14:01:25 2002 EDT Modified files: /pearweb/public_html account-edit.php Log: - nuke warning. $_GET is empty when method="POST" is used Index: pearweb/public_html/account-edit.php diff -u pearweb/public_html/account-edit.php:1.7 pearweb/public_html/account-edit.php:1.8 --- pearweb/public_html/account-edit.php:1.7 Mon Jan 28 13:53:00 2002 +++ pearweb/public_html/account-edit.php Mon Jan 28 14:01:23 2002 @@ -15,7 +15,7 @@ response_header("Edit Account: $handle"); $admin = user::isAdmin($PHP_AUTH_USER); -$user = ($PHP_AUTH_USER === $_GET['handle']); +$user = ($PHP_AUTH_USER === $handle); if (!$admin && !$user) { PEAR::raiseError("Only the user himself or PEAR administrators can edit the account information.");

« previous php.pear.cvs (#2217) next »