Changeset 440 for trunk/classes

Show
Ignore:
Timestamp:
2012-01-06 20:46:42 (5 months ago)
Author:
hannes
Message:

bugfix: when a user is changing her username, update the correct posts

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/classes/pages/Userpanel.php

    r403 r440  
    243243                                            $q->bindParam(':user', $INPUT['user'], PDO::PARAM_STR); 
    244244                                            $q->bindParam(':member', $row->membername, PDO::PARAM_STR); 
    245                                             $q->bindValue(':one', 1, PDO::PARAM_INT); 
     245                                            $q->bindValue(':one', $INPUT['id'], PDO::PARAM_INT); 
    246246                                            $q->execute(); 
    247247                                            $q = NULL;