From 0228e36c29279f5d434ae2a2b5588382043dc04d Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Sun, 17 May 2009 11:57:25 +0000 Subject: [PATCH] Remoived buggy and obsolete hotkey support in pager_link(). --- includes/ui/db_pager_view.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/includes/ui/db_pager_view.inc b/includes/ui/db_pager_view.inc index 7fe7754..ce3ae3d 100644 --- a/includes/ui/db_pager_view.inc +++ b/includes/ui/db_pager_view.inc @@ -14,12 +14,11 @@ function pager_link($link_text, $url, $icon=false) { global $path_to_root; - $link = access_string($link_text); if (user_graphic_links() && $icon) - $link[0] = set_icon($icon, $link[0]); + $link_text = set_icon($icon, $link_text); $href = $path_to_root . $url; - return "" . $link[0] . ""; + return "" . $link_text . ""; } function navi_button($name, $value, $enabled=true, $icon = false) { -- 2.30.2