[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.8-240-g404c473

Ruslan Zakirov ruz at bestpractical.com
Wed Jan 12 07:20:43 EST 2011


The branch, 3.8-trunk has been updated
       via  404c473d367ebb6219cd4cc2da914b8c42d01a2f (commit)
      from  2ba267bd4f9dbca142e5fd4f20eb4e0a706ed3f9 (commit)

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

- Log -----------------------------------------------------------------
commit 404c473d367ebb6219cd4cc2da914b8c42d01a2f
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Wed Jan 12 15:19:35 2011 +0300

    return back accidentally reverted change
    
    we shouldn't return, but go to the next item instead

diff --git a/lib/RT/Config.pm b/lib/RT/Config.pm
index bc23b03..ad35b28 100644
--- a/lib/RT/Config.pm
+++ b/lib/RT/Config.pm
@@ -868,9 +868,9 @@ sub SetFromConfig {
 
             # get entry for type we are looking for
             # XXX skip references to scalars or other references.
-            # Otherwie 5.10 goes boom. may be we should skip any
+            # Otherwie 5.10 goes boom. maybe we should skip any
             # reference
-            return if ref($entry) eq 'SCALAR' || ref($entry) eq 'REF';
+            next if ref($entry) eq 'SCALAR' || ref($entry) eq 'REF';
             my $entry_ref = *{$entry}{ ref($ref) };
             next unless $entry_ref;
 

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


More information about the Rt-commit mailing list