Ignore:
Timestamp:
Dec 10, 2010, 5:48:18 PM (13 years ago)
Author:
Eric
Message:

Bug 2053 fixed - Manual validation by admins wasn't working correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/trunk/admin/UAM_admin.php

    r8065 r8072  
    631631       
    632632  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  {
    634634// +-----------------------------------------------------------------------+
    635635// |                           initialization                              |
     
    640640        die('Hacking attempt!');
    641641    }
    642          
     642
    643643    include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
    644644
     
    965965                foreach ($collection as $user_id)
    966966        {
    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);
    976968        }
    977969        array_push(
Note: See TracChangeset for help on using the changeset viewer.