[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.6-111-ge8319c5

Kevin Falcone falcone at bestpractical.com
Tue Dec 1 11:17:37 EST 2009


The branch, 3.8-trunk has been updated
       via  e8319c5b728dceb934c05f6712cbb57752b550c7 (commit)
      from  5f24c33d174b903726a5448ecd6b87b841a6bb46 (commit)

Summary of changes:
 lib/RT/Interface/Web.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit e8319c5b728dceb934c05f6712cbb57752b550c7
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Tue Dec 1 11:17:08 2009 -0500

    Call the method on the object, not the username string
    
    Reported by Philip Shore

diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index 5127f05..08d28ec 100755
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -364,7 +364,7 @@ sub AttemptExternalAuth {
                 my $new_user_info = RT::Interface::Web::WebExternalAutoInfo($user);
 
                 # set the attributes that have been defined.
-                foreach my $attribute ( $user->WritableAttributes ) {
+                foreach my $attribute ( $UserObj->WritableAttributes ) {
                     $m->callback(
                         Attribute    => $attribute,
                         User         => $user,

-----------------------------------------------------------------------


More information about the Rt-commit mailing list