[Rt-commit] r3198 - in rtfm/branches/2.1-TESTING: . html/RTFM/Article

jesse at bestpractical.com jesse at bestpractical.com
Wed Jun 15 23:19:11 EDT 2005


Author: jesse
Date: Wed Jun 15 23:19:11 2005
New Revision: 3198

Modified:
   rtfm/branches/2.1-TESTING/   (props changed)
   rtfm/branches/2.1-TESTING/META.yml
   rtfm/branches/2.1-TESTING/html/RTFM/Article/Search.html
Log:
 r20592 at hualien:  jesse | 2005-06-15 23:19:03 -0400
 * don't bomb out on empty searches


Modified: rtfm/branches/2.1-TESTING/META.yml
==============================================================================
--- rtfm/branches/2.1-TESTING/META.yml	(original)
+++ rtfm/branches/2.1-TESTING/META.yml	Wed Jun 15 23:19:11 2005
@@ -1,5 +1,5 @@
 name: RT-FM
-version: 2.1.20
+version: 2.1.21
 abstract: RT FM Extension
 license: GPL version 2
 distribution_type: module
@@ -11,6 +11,7 @@
   HTML::TreeBuilder: 0
   Time::ParseDate: 0
   HTML::FormatText: 0
+  YAML: 0
 no_index:
   directory:
     - bin

Modified: rtfm/branches/2.1-TESTING/html/RTFM/Article/Search.html
==============================================================================
--- rtfm/branches/2.1-TESTING/html/RTFM/Article/Search.html	(original)
+++ rtfm/branches/2.1-TESTING/html/RTFM/Article/Search.html	Wed Jun 15 23:19:11 2005
@@ -126,6 +126,8 @@
 	    $search->Id;
 	push(@results, loc("Created search [_1]", $search->Name));
     } else {
+        undef $search; # if we bomb out creating a search
+                        # we don't want to have the empty object hang around
 	push(@results, loc("Could not create search: [_1]", $msg));
     }
 } elsif ($ARGS{'Update'}) {


More information about the Rt-commit mailing list