mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-29 14:31:59 +02:00
Resolved issue 0000715: Fix bad format of email with name contains special character.
+ Ignore all for plugins and theme directories Merge branch-1_7 2048:2050 into BSF git-svn-id: http://piwigo.org/svn/trunk@2051 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -74,7 +74,7 @@ function format_email($name, $email)
|
||||
|
||||
if ($conf['enabled_format_email'])
|
||||
{
|
||||
$cvt7b_name = str_translate_to_ascii7bits($name);
|
||||
$cvt7b_name = '"'.addslashes(str_translate_to_ascii7bits($name)).'"';
|
||||
|
||||
if (strpos($email, '<') === false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user