Changeset 26561


Ignore:
Timestamp:
01/09/14 20:58:12 (5 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.