From 6e0d1765c2ddce581342e2864d2b7305b03a2df2 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Tue, 3 May 2011 20:51:44 -0400 Subject: [PATCH] Avoid empty ID attribute in SELECT element The current code appears to always generate an empty id="" attribute, as the "id" variable never gets populated. For now, protect against the empty ID attribute. Signed-off-by: Dan Scott --- Open-ILS/web/templates/default/opac/parts/org_selector.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/templates/default/opac/parts/org_selector.tt2 b/Open-ILS/web/templates/default/opac/parts/org_selector.tt2 index aa99e91b0b..2daf63ad75 100644 --- a/Open-ILS/web/templates/default/opac/parts/org_selector.tt2 +++ b/Open-ILS/web/templates/default/opac/parts/org_selector.tt2 @@ -17,7 +17,7 @@ # PROCESS build_org_selector id='selector-id' name='selector-name' BLOCK build_org_selector; %] - [% PROCESS build_org_selector_options walker=(org_unit || ctx.aou_tree) value=value %] [% END %] -- 2.11.0