|
From: Paul S. O. <ps...@us...> - 2001-11-29 11:25:07
|
Update of /cvsroot/phpbb/phpBB2/admin
In directory usw-pr-cvs1:/tmp/cvs-serv27715/admin
Modified Files:
admin_users.php
Log Message:
Fixed bug #486207
Index: admin_users.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/admin_users.php,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -r1.32 -r1.33
*** admin_users.php 2001/11/21 13:02:36 1.32
--- admin_users.php 2001/11/29 11:25:04 1.33
***************
*** 336,343 ****
--- 336,351 ----
$user_id = ( isset($HTTP_POST_VARS[POST_USERS_URL]) ) ? $HTTP_POST_VARS[POST_USERS_URL] : $HTTP_GET_VARS[POST_USERS_URL];
$this_userdata = get_userdata_from_id($user_id);
+ if( !$this_userdata )
+ {
+ message_die(GENERAL_MESSAGE, $lang['No_user_id_specified']);
+ }
}
else
{
$this_userdata = get_userdata($HTTP_POST_VARS['username']);
+ if( !$this_userdata )
+ {
+ message_die(GENERAL_MESSAGE, $lang['No_user_id_specified']);
+ }
}
***************
*** 551,556 ****
//
// Default user selection box
- //
- // This should be altered on the final system
//
$sql = "SELECT user_id, username
--- 559,562 ----
|