[Rt-commit] r14664 - in rtfm/trunk: . lib/RT/URI
falcone at bestpractical.com
falcone at bestpractical.com
Wed Jul 30 16:06:23 EDT 2008
Author: falcone
Date: Wed Jul 30 16:06:15 2008
New Revision: 14664
Modified:
rtfm/trunk/ (props changed)
rtfm/trunk/html/RTFM/Article/Search.html
rtfm/trunk/lib/RT/URI/fsck_com_rtfm.pm
Log:
r36396 at ketch: falcone | 2008-07-30 12:12:51 -0400
* quiet warnings
Modified: rtfm/trunk/html/RTFM/Article/Search.html
==============================================================================
--- rtfm/trunk/html/RTFM/Article/Search.html (original)
+++ rtfm/trunk/html/RTFM/Article/Search.html Wed Jul 30 16:06:15 2008
@@ -270,14 +270,19 @@
}
}
-foreach my $link ( split ( /\s+/, $RefersTo ) ) {
- next unless ($link);
- $articles->LimitRefersTo($link);
+
+if ($RefersTo) {
+ foreach my $link ( split ( /\s+/, $RefersTo ) ) {
+ next unless ($link);
+ $articles->LimitRefersTo($link);
+ }
}
-foreach my $link ( split ( /\s+/, $ReferredToBy ) ) {
- next unless ($link);
- $articles->LimitReferredToBy($link);
+if ($ReferredToBy) {
+ foreach my $link ( split ( /\s+/, $ReferredToBy ) ) {
+ next unless ($link);
+ $articles->LimitReferredToBy($link);
+ }
}
if ($ARGS{'Topics'}) {
Modified: rtfm/trunk/lib/RT/URI/fsck_com_rtfm.pm
==============================================================================
--- rtfm/trunk/lib/RT/URI/fsck_com_rtfm.pm (original)
+++ rtfm/trunk/lib/RT/URI/fsck_com_rtfm.pm Wed Jul 30 16:06:15 2008
@@ -50,6 +50,7 @@
use strict;
use warnings;
+no warnings 'redefine';
use RT::FM::Article;
use base qw/RT::URI::base/;
More information about the Rt-commit
mailing list