[Rt-commit] rtfm branch, 2.4-trunk, updated. 2.4.5-1-g61a4f3f

Kevin Falcone falcone at bestpractical.com
Tue Feb 12 18:43:21 EST 2013


The branch, 2.4-trunk has been updated
       via  61a4f3f5ca306898731f7434882249f2f1d583f5 (commit)
      from  f87088f675c7f96cc2c154b1ad13961a31e5c6cc (commit)

Summary of changes:
 html/RTFM/Article/Search.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 61a4f3f5ca306898731f7434882249f2f1d583f5
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Tue Feb 12 18:30:56 2013 -0500

    Update for 5.14 compatibility
    
    Noted by Andrew Psaltis in #22607

diff --git a/html/RTFM/Article/Search.html b/html/RTFM/Article/Search.html
index 76c2c37..216f83b 100644
--- a/html/RTFM/Article/Search.html
+++ b/html/RTFM/Article/Search.html
@@ -253,7 +253,7 @@ else {
 }
 
 my %dates;
-foreach my $date qw(Created< Created> LastUpdated< LastUpdated>) {
+foreach my $date (qw(Created< Created> LastUpdated< LastUpdated>)) {
     next unless ( $ARGS{$date} );
     my $seconds = parsedate( $ARGS{$date}, FUZZY => 1, PREFER_PAST => 1 );
     my $date_obj = RT::Date->new( $session{'CurrentUser'} );
@@ -407,7 +407,7 @@ if ($ARGS{'Article!~'}) {
                       OPERATOR => 'NOT LIKE' );
 }
 
-foreach my $field qw(Name Summary Class) {
+foreach my $field (qw(Name Summary Class)) {
 
    my @MatchLike = (ref $ARGS{ $field."~" } eq 'ARRAY' ) ? @{ $ARGS{ $field."~" } } : ( $ARGS{$field."~" } );
    my @NoMatchLike = (ref $ARGS{ $field."!~" } eq 'ARRAY' ) ? @{ $ARGS{ $field."!~" } } : ( $ARGS{$field."!~" } );

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


More information about the Rt-commit mailing list