File: filter_params_id.patch

package info (click to toggle)
slash 2.2.6-8etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 3,672 kB
  • ctags: 1,915
  • sloc: perl: 23,113; sql: 1,878; sh: 433; makefile: 233
file content (20 lines) | stat: -rw-r--r-- 685 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Slash/Utility/Environment/Environment.pm	2002-02-07 14:52:10.000000000 +0100
+++ Slash/Utility/Environment/Environment.pm	2008-01-09 00:54:23.000000000 +0100
@@ -1185,7 +1185,7 @@
 
 	# fields that are numeric only
 	my %nums = map {($_ => 1)} qw(
-		artcount bseclev cid clbig clsmall
+		artcount bseclev cid clbig clsmall id
 		commentlimit commentsort commentspill
 		commentstatus del displaystatus
 		filter_id height highlightthresh
@@ -1199,7 +1199,7 @@
 
 	# fields that have ONLY a-zA-Z0-9_
 	my %alphas = map {($_ => 1)} qw(
-		formkey mode section type
+		content_type formkey mode section type userfield
 	);
 
 	# regexes to match dynamically generated numeric fields