[Rt-commit] r6169 - in commitbit: .

jesse at bestpractical.com jesse at bestpractical.com
Thu Oct 5 17:06:17 EDT 2006


Author: jesse
Date: Thu Oct  5 17:06:16 2006
New Revision: 6169

Modified:
   commitbit/   (props changed)
   commitbit/trunk/lib/CommitBit/Model/User.pm

Log:
 r28057 at 113:  jesse | 2006-10-05 17:06:19 -0400
 oops. logic bug


Modified: commitbit/trunk/lib/CommitBit/Model/User.pm
==============================================================================
--- commitbit/trunk/lib/CommitBit/Model/User.pm	(original)
+++ commitbit/trunk/lib/CommitBit/Model/User.pm	Thu Oct  5 17:06:16 2006
@@ -66,7 +66,7 @@
         return 1;
     }
 
-    if ($right eq 'update' and ($self->current_user->user_object->id == $self->id)) {
+    if ($right eq 'update' and ($self->current_user>user_object &&& ($self->current_user->user_object->id == $self->id))) {
         if ($args{'column'} =~ /^(?:nickname|password)$/) {
             return 1;
         }


More information about the Rt-commit mailing list