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 --- admin/user_list.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'admin/user_list.php') diff --git a/admin/user_list.php b/admin/user_list.php index 900f43756..0dcc1ba95 100644 --- a/admin/user_list.php +++ b/admin/user_list.php @@ -214,8 +214,8 @@ if ($conf['double_password_type_in_admin'] == true) { array_push( $page['infos'], - sprintf( - l10n('user "%s" added'), + l10n( + 'user "%s" added', $_POST['login'] ) ); @@ -234,8 +234,8 @@ else if ($conf['double_password_type_in_admin'] == false) { array_push( $page['infos'], - sprintf( - l10n('user "%s" added'), + l10n( + 'user "%s" added', stripslashes($_POST['login']) ) ); -- cgit v1.2.3