Changeset 333
- Timestamp:
- Jan 30, 2004, 11:48:30 PM (20 years ago)
- Location:
- branches/release-1_3/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/release-1_3/admin/group_list.php
r143 r333 34 34 $row = mysql_fetch_array( mysql_query( $query ) ); 35 35 // confirm group deletion ? 36 if ( $_GET['confirm'] != 1 )36 if ( !isset( $_GET['confirm'] ) or $_GET['confirm'] != 1 ) 37 37 { 38 38 $vtp->addSession( $sub, 'deletion' ); -
branches/release-1_3/admin/user_modify.php
r260 r333 40 40 $page['username'] = $row['username']; 41 41 $page['status'] = $row['status']; 42 if ( !isset( $row['mail_address'] ) ) $row['mail_address'] = ''; 42 43 $page['mail_address'] = $row['mail_address']; 43 44 // user is not modifiable if : … … 63 64 // shall we use a new password and overwrite the old one ? 64 65 $use_new_password = false; 65 if ( $_POST['use_new_pwd'] == 1) 66 { 67 $use_new_password = true; 68 } 66 if ( isset( $_POST['use_new_pwd'] ) ) $use_new_password = true; 69 67 // if we try to update the webmaster infos, we have to set the status to 70 68 // 'admin' … … 89 87 { 90 88 $dissociate = 'dissociate-'.$row['id']; 91 if ( $_POST[$dissociate] == 1)89 if ( isset( $_POST[$dissociate] ) ) 92 90 { 93 91 $query = 'DELETE FROM '.PREFIX_TABLE.'user_group'; … … 127 125 $vtp->setVar( $sub, 'confirmation.url', $url ); 128 126 $vtp->closeSession( $sub, 'confirmation' ); 129 if ( $use_new_p wd )127 if ( $use_new_password ) 130 128 { 131 129 $vtp->addSession( $sub, 'password_updated' );
Note: See TracChangeset
for help on using the changeset viewer.