From ef2f5f6ff03591f558e3296864bbb8b5cbb1b65d Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Thu, 24 Jul 2008 16:49:12 +0000 Subject: [PATCH] Fixed hint for lists not using search/select submition. --- includes/ui/ui_lists.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc index 67d95b97..86968c9f 100644 --- a/includes/ui/ui_lists.inc +++ b/includes/ui/ui_lists.inc @@ -72,7 +72,7 @@ $opts = array( // default options '' : _('Press Space tab for search pattern entry'); if ($opts['box_hint'] === null) - $opts['box_hint'] = $search_box ? + $opts['box_hint'] = $search_box && $search_submit != false ? ($by_id ? _('Enter code fragment to search or * for all') : _('Enter description fragment to search or * for all')) :''; -- 2.30.2