From 9119f247cf36b6718aedcf2c5cce71a7ac2dbd8e Mon Sep 17 00:00:00 2001 From: skodak Date: Tue, 2 Jan 2007 10:00:38 +0000 Subject: [PATCH] MDL-7861 I have noticed that the last change in weblib.php http://moodle.cvs.sourceforge.net/moodle/moodle/lib/weblib.php?r1=1.722&r2=1.723 broke validation because name and id attributes are not the same, committing fix, please review ;-) --- lib/weblib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index 772f20b1f8..120d589823 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -956,10 +956,10 @@ function popup_form($common, $options, $formname, $selected='', $nothing='choose ' method="get"'. ' target="'.$CFG->framename.'"'. ' name="'.$formname.'"'. - ' id="id_'.$formname.'"'. + ' id="'.$formname.'"'. ' class="popupform">'; - $output = ''."\n"; if ($nothing != '') { $output .= " \n"; -- 2.39.5