mail : update exception message
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2721 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
3
mail.php
3
mail.php
@@ -3,6 +3,7 @@
|
|||||||
@package domframework
|
@package domframework
|
||||||
@author Dominique Fournier <dominique@fournier38.fr> */
|
@author Dominique Fournier <dominique@fournier38.fr> */
|
||||||
|
|
||||||
|
/** The class to create a complete email. Can read an email from a content */
|
||||||
class mail
|
class mail
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -1086,7 +1087,7 @@ class mail
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (! array_key_exists ($sectionID, $this->sections))
|
if (! array_key_exists ($sectionID, $this->sections))
|
||||||
throw new \Exception ("Wanted section not found in addHeader", 404);
|
throw new \Exception ("Wanted section not found in delHeader", 404);
|
||||||
$sectionMainID = $sectionID;
|
$sectionMainID = $sectionID;
|
||||||
}
|
}
|
||||||
$found = false;
|
$found = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user