Ignore:
Timestamp:
Jan 9, 2014, 8:58:12 PM (11 years ago)
Author:
plg
Message:

bug fixed: compatible with external table for users

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/user_delete_photo/initpicture.php

    r22755 r26561  
    5353 
    5454  $query = '
    55 select username
     55select '.$conf['user_fields']['username'].' AS username
    5656  FROM ' . USERS_TABLE . '
    57   WHERE id = \''.$userudp.'\'
     57  WHERE '.$conf['user_fields']['id'].' = \''.$userudp.'\'
    5858  ;';
    5959$result = pwg_query($query);
Note: See TracChangeset for help on using the changeset viewer.