From 8b50339b5760459c290d1d47bf81d386202f433a Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 18 Feb 2007 18:32:07 +0000 Subject: [PATCH] allow file upload in parseHtml() restricted mode --- lam/lib/modules.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index bec417db..588deca6 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -559,7 +559,7 @@ function parseHtml($module, $input, $values, $restricted, &$tabindex, &$tabindex // input fields case 'input': $type = $input[$i][$j]['type']; - if ($restricted && (($type == "submit") || ($type == "reset") || ($type == "file"))) break; // no buttons in restricted mode + if ($restricted && (($type == "submit") || ($type == "reset"))) break; // no buttons in restricted mode $output = "