[Rt-commit] r7854 - in rt/branches/3.6-RELEASE: .

falcone at bestpractical.com falcone at bestpractical.com
Mon May 14 11:35:34 EDT 2007


Author: falcone
Date: Mon May 14 11:35:33 2007
New Revision: 7854

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

Log:
 r18560 at ketch:  falcone | 2007-05-11 14:18:46 -0400
 * stop a warning when we don't have any saved search


Modified: rt/branches/3.6-RELEASE/lib/RT/Interface/Web.pm
==============================================================================
--- rt/branches/3.6-RELEASE/lib/RT/Interface/Web.pm	(original)
+++ rt/branches/3.6-RELEASE/lib/RT/Interface/Web.pm	Mon May 14 11:35:33 2007
@@ -1627,6 +1627,7 @@
 
 sub _parse_saved_search {
     my $spec = shift;
+    return unless $spec;
     if ($spec  !~ /^(.*?)-(\d+)-SavedSearch-(\d+)$/ ) {
         return;
     }


More information about the Rt-commit mailing list