diff --git a/lib/weblib.php b/lib/weblib.php index 772f20b1f8d..120d5898237 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";