mail : manage the namespace
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5186 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
4
mail.php
4
mail.php
@@ -1049,10 +1049,10 @@ class mail
|
||||
$date = rtrim ($this->getDate ());
|
||||
if ($date !== false)
|
||||
{
|
||||
$dateTimestamp = DateTime::createFromFormat (DateTime::RFC2822,
|
||||
$dateTimestamp = \DateTime::createFromFormat (\DateTime::RFC2822,
|
||||
$date);
|
||||
if ($dateTimestamp === false)
|
||||
$dateTimestamp = DateTime::createFromFormat (DateTime::RFC822,
|
||||
$dateTimestamp = \DateTime::createFromFormat (\DateTime::RFC822,
|
||||
$date);
|
||||
if ($dateTimestamp !== false)
|
||||
$dateTimestamp = $dateTimestamp->getTimestamp();
|
||||
|
||||
Reference in New Issue
Block a user