Changeset 8072 for extensions/NBC_UserAdvManager/trunk/admin/UAM_admin.php
- Timestamp:
- Dec 10, 2010, 5:48:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/NBC_UserAdvManager/trunk/admin/UAM_admin.php
r8065 r8072 631 631 632 632 if (isset($conf_UAM[1]) and ($conf_UAM[1]=='true' or $conf_UAM[1]=='local') and ((isset($conf_UAM[2]) and $conf_UAM[2] <> '-1') or (isset($conf_UAM[8]) and $conf_UAM[8] <> '-1'))) 633 { 633 { 634 634 // +-----------------------------------------------------------------------+ 635 635 // | initialization | … … 640 640 die('Hacking attempt!'); 641 641 } 642 642 643 643 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 644 644 … … 965 965 foreach ($collection as $user_id) 966 966 { 967 $query = " 968 SELECT id, username, mail_address 969 FROM ".USERS_TABLE." 970 WHERE id = '".$user_id."' 971 ;"; 972 973 $data = pwg_db_fetch_assoc(pwg_query($query)); 974 975 ForceValidation($data['id']); 967 ForceValidation($user_id); 976 968 } 977 969 array_push(
Note: See TracChangeset
for help on using the changeset viewer.