Changeset 9401


Ignore:
Timestamp:
Feb 27, 2011, 7:07:02 PM (9 years ago)
Author:
Eric
Message:

bug 2208 fixed : Duplicate user control improvement on username update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LCAS/trunk/admin/LCAS_admin.php

    r9400 r9401  
    100100                      }
    101101
     102          $query = '
     103                 SELECT username
     104                 FROM '.USERS_TABLE.'
     105                 WHERE username="'.addslashes($_POST['user-'.$lcas_UserToUpdate]).'"
     106          ;';
     107       
     108          $count = pwg_db_num_rows(pwg_query($query));
     109
    102110          if ($count < 1)
    103111          {
Note: See TracChangeset for help on using the changeset viewer.