[Rt-commit] r5191 - in rt/branches/3.7-EXPERIMENTAL: html/Admin/CustomFields

ruz at bestpractical.com ruz at bestpractical.com
Wed May 10 17:37:32 EDT 2006


Author: ruz
Date: Wed May 10 17:37:32 2006
New Revision: 5191

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/Admin/CustomFields/index.html

Log:
 r2832 at cubic-pc:  cubic | 2006-05-06 03:11:52 +0400
 * backward compatibility glue


Modified: rt/branches/3.7-EXPERIMENTAL/html/Admin/CustomFields/index.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Admin/CustomFields/index.html	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Admin/CustomFields/index.html	Wed May 10 17:37:32 2006
@@ -92,6 +92,12 @@
 $ShowDisabled => 0
 </%args>
 <%INIT>
+$Type ||= $ARGS{'type'} || '';
+if ( !$Type && $ARGS{'type'} ) {
+    $Type ||= $ARGS{'type'};
+    $RT::Logger->warning("'type' argument is deprecated use 'Type' instead");
+}
+
 my $CustomFields = RT::CustomFields->new($session{'CurrentUser'});
 $CustomFields->UnLimit;
 $CustomFields->{'find_disabled_rows'} = 1 if $ShowDisabled;


More information about the Rt-commit mailing list