Changeset 26560


Ignore:
Timestamp:
Jan 9, 2014, 8:56:25 PM (7 years ago)
Author:
plg
Message:

bug fixed: compatibility with external table for users

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Photo_add_by/initpicture.php

    r21222 r26560  
    5151 
    5252  $query = '
    53 select username
     53select '.$conf['user_fields']['username'].' AS username
    5454  FROM ' . USERS_TABLE . '
    55   WHERE id = \''.$userab.'\'
     55  WHERE '.$conf['user_fields']['id'].' = \''.$userab.'\'
    5656  ;';
    5757$result = pwg_query($query);
Note: See TracChangeset for help on using the changeset viewer.