diff --git a/inc/html.php b/inc/html.php
index 09e871b67bc4c8aa810481c97a87497ddabd8ac4..1bce0210eaab4affb80b547541d427df986d426c 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -136,7 +136,11 @@ function html_editbutton(){
  */
 function html_secedit_button($matches){
   global $ID;
-  global $lang;
+  global $INFO;
+
+  $section = $matches[2];
+  $name = $matches[1];
+
   $secedit  = '';
   $secedit .= '<div class="secedit">';
   $secedit .= html_btn('secedit',$ID,'',