mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 00:53:04 +02:00
feature 2978: remove useless sprintf in the core
git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+4
-4
@@ -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'])
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user