[Rt-commit] r19316 - in rt/3.8/trunk: share/html/REST/1.0

sartak at bestpractical.com sartak at bestpractical.com
Tue Apr 21 06:17:03 EDT 2009


Author: sartak
Date: Tue Apr 21 06:17:03 2009
New Revision: 19316

Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/share/html/REST/1.0/dhandler

Log:
 r82341 at onn:  sartak | 2009-04-21 06:16:55 -0400
 Avoid "200 Ok" not numeric warnings by using a regex instead of !=


Modified: rt/3.8/trunk/share/html/REST/1.0/dhandler
==============================================================================
--- rt/3.8/trunk/share/html/REST/1.0/dhandler	(original)
+++ rt/3.8/trunk/share/html/REST/1.0/dhandler	Tue Apr 21 06:17:03 2009
@@ -321,6 +321,6 @@
 $output = form_compose(\@output);
 
 OUTPUT:
-$m->out("RT/".$RT::VERSION ." ".$status ."\n\n$output\n") if ($output || $status != 200);
+$m->out("RT/".$RT::VERSION ." ".$status ."\n\n$output\n") if ($output || $status !~ /^200/);
 return;
 </%INIT>


More information about the Rt-commit mailing list