From: Janusz Dobrowolski Date: Thu, 24 Jul 2008 16:49:12 +0000 (+0000) Subject: Fixed hint for lists not using search/select submition. X-Git-Tag: v2.4.2~19^2~1893 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=ef2f5f6ff03591f558e3296864bbb8b5cbb1b65d;p=fa-stable.git Fixed hint for lists not using search/select submition. --- 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')) :'';