From 2f08283864615990a47ef8b3995ab88402eda478 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sat, 19 Oct 2013 11:04:11 +0000 Subject: feature 2978: remove useless sprintf in the core git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee --- search_rules.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'search_rules.php') diff --git a/search_rules.php b/search_rules.php index 1fe8a628d..4217fe2e9 100644 --- a/search_rules.php +++ b/search_rules.php @@ -77,9 +77,10 @@ else if (isset($search['fields']['allwords'])) { - $template->append( 'search_words', - sprintf( - l10n('searched words : %s'), + $template->append( + 'search_words', + l10n( + 'searched words : %s', join(', ', $search['fields']['allwords']['words']) ) ); @@ -103,10 +104,10 @@ SELECT name if (isset($search['fields']['author'])) { $template->append( - 'search_words', - sprintf( - l10n('author(s) : %s'), - join(', ', $search['fields']['author']['words']) + 'search_words', + l10n( + 'author(s) : %s', + join(', ', $search['fields']['author']['words']) ) ); } -- cgit v1.2.3