diff --git a/pages/account/55.php b/pages/account/55.php index 5e78c6e..9c6fe44 100644 --- a/pages/account/55.php +++ b/pages/account/55.php @@ -16,7 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ ?> - if ($_SESSION['profile']['admin'] != 1 || intval($_REQUEST['userid']) < 1) { + if ($_SESSION['profile']['admin'] != 1 || !array_key_exists('userid',$_REQUEST) || intval($_REQUEST['userid']) < 1) { $user_id = intval($_SESSION['profile']['id']); ?>
back | '._('Internal Error').' | '."\n"; } else { $row = mysql_fetch_array($res, MYSQL_NUM);