[Rt-commit] r4989 - in rt/branches/3.7-EXPERIMENTAL: .

ruz at bestpractical.com ruz at bestpractical.com
Fri Apr 7 09:12:50 EDT 2006


Author: ruz
Date: Fri Apr  7 09:12:44 2006
New Revision: 4989

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web.pm

Log:
 r2369 at cubic-pc:  cubic | 2006-04-07 00:28:03 +0400
 * indent


Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web.pm	Fri Apr  7 09:12:44 2006
@@ -1117,12 +1117,12 @@
 
     # For each of those objects
     foreach my $class ( keys %custom_fields_to_mod ) {
-	foreach my $id ( keys %{$custom_fields_to_mod{$class}} ) {
-	    my $Object = $args{'Object'};
-	    if (!$Object or ref($Object) ne $class or $Object->id != $id) {
-            $Object = $class->new( $session{'CurrentUser'} );
-            $Object->Load($id);
-        }
+        foreach my $id ( keys %{$custom_fields_to_mod{$class}} ) {
+            my $Object = $args{'Object'};
+            if (!$Object or ref($Object) ne $class or $Object->id != $id) {
+                $Object = $class->new( $session{'CurrentUser'} );
+                $Object->Load($id);
+            }
 
             # For each custom field  
             foreach my $cf ( keys %{ $custom_fields_to_mod{$class}{$id} } ) {


More information about the Rt-commit mailing list