mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-19 08:02:59 +02:00
Resolved issue 0000715: Fix bad format of email with name contains special character.
+ Ignore all for plugins and theme directories git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2049 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -78,7 +78,7 @@ function format_email($name, $email)
|
||||
|
||||
if (strpos($email, '<') === false)
|
||||
{
|
||||
return $cvt7b_name.' <'.$email.'>';
|
||||
return '"'.addslashes($cvt7b_name).'" <'.$email.'>';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user