[Rt-commit] r13462 - in rt/3.8/trunk: .

sartak at bestpractical.com sartak at bestpractical.com
Fri Jun 20 14:23:21 EDT 2008


Author: sartak
Date: Fri Jun 20 14:23:21 2008
New Revision: 13462

Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/lib/RT/Dashboard.pm

Log:
 r62978 at dhcp184:  sartak | 2008-06-20 12:54:43 -0500
 Don't try to update the dashboard's name if it hasn't changed


Modified: rt/3.8/trunk/lib/RT/Dashboard.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Dashboard.pm	(original)
+++ rt/3.8/trunk/lib/RT/Dashboard.pm	Fri Jun 20 14:23:21 2008
@@ -115,7 +115,8 @@
     }
 
     if ($status && $args->{'Name'}) {
-        ($status, $msg) = $self->{'Attribute'}->SetDescription($args->{'Name'});
+        ($status, $msg) = $self->{'Attribute'}->SetDescription($args->{'Name'})
+            unless $self->Name eq $args->{'Name'};
     }
 
     return ($status, $msg);


More information about the Rt-commit mailing list