[Rt-commit] rt branch, googleish-refactor, updated. rt-3.8.5-212-g3e1c3ab

Kevin Falcone falcone at bestpractical.com
Tue Mar 9 17:16:03 EST 2010


The branch, googleish-refactor has been updated
       via  3e1c3ab6c30bf42aeb16f4f949864e0c55f5cea3 (commit)
      from  ae8837c21cb0b14df6b2c788256cabef5c9a8d85 (commit)

Summary of changes:
 lib/RT/Search/Googleish.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 3e1c3ab6c30bf42aeb16f4f949864e0c55f5cea3
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Tue Mar 9 17:15:46 2010 -0500

    Explicit return, to avoid a clause consisting of undef

diff --git a/lib/RT/Search/Googleish.pm b/lib/RT/Search/Googleish.pm
index 00fb57c..6362c2d 100644
--- a/lib/RT/Search/Googleish.pm
+++ b/lib/RT/Search/Googleish.pm
@@ -262,6 +262,7 @@ sub ProcessExtraStatus {
     if ( RT::Config->Get('OnlySearchActiveTicketsInSimpleSearch',$self->TicketsObj->CurrentUser) ) {
           return join( " OR ", map "Status = '$_'", RT::Queue->ActiveStatusArray() );
     }
+    return;
 }
 
 sub TranslateCustom {

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


More information about the Rt-commit mailing list