From 87cb01b7aebc5228a348e326e040da54abb3cc23 Mon Sep 17 00:00:00 2001
From: Anika Henke <anika@selfthinker.org>
Date: Mon, 19 Jan 2009 18:02:35 +0100
Subject: [PATCH] fix for input accesskeys

darcs-hash:20090119170235-f7d6d-4c0c66781e23148f1ed583dc304979ec2d5471b2.gz
---
 inc/html.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inc/html.php b/inc/html.php
index 495c6d646..21f7fa26f 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -184,7 +184,7 @@ function html_btn($name,$id,$akey,$params,$method='get',$tooltip=''){
   $ret .= '<input type="submit" value="'.htmlspecialchars($label).'" class="button" ';
   if($akey){
     $tip .= ' ['.strtoupper($akey).']';
-    $ret .= 'accesskey="'.htmlspecialchars($label).' '.$akey.'" ';
+    $ret .= 'accesskey="'.$akey.'" ';
   }
   $ret .= 'title="'.$tip.'" ';
   $ret .= '/>';
-- 
GitLab