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:
2016-05-20 18:50:56 +00:00
parent a6f19764e1
commit c1cbf1435a

View File

@@ -3,6 +3,7 @@
@package domframework
@author Dominique Fournier <dominique@fournier38.fr> */
/** The class to create a complete email. Can read an email from a content */
class mail
{
@@ -1086,7 +1087,7 @@ class mail
else
{
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;
}
$found = false;