Changeset 902 for trunk/profile.php


Ignore:
Timestamp:
Oct 19, 2005, 12:29:21 AM (19 years ago)
Author:
plg
Message:
  • bug 172 fixed: crash when changing password with an external users table. The same kind of correction was also made in picture.php and register.php.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/profile.php

    r854 r902  
    7878    // changing password requires old password
    7979    $query = '
    80 SELECT password
     80SELECT '.$conf['user_fields']['password'].' AS password
    8181  FROM '.USERS_TABLE.'
    8282  WHERE '.$conf['user_fields']['id'].' = \''.$userdata['id'].'\'
Note: See TracChangeset for help on using the changeset viewer.