projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4bb02c
)
return error with context
author
Alan Knowles
<alan@roojs.com>
Thu, 22 Jul 2021 06:52:18 +0000
(14:52 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 22 Jul 2021 06:52:18 +0000
(14:52 +0800)
Mail/RFC822.php
patch
|
blob
|
history
diff --git
a/Mail/RFC822.php
b/Mail/RFC822.php
index
a001197
..
3a48a84
100644
(file)
--- a/
Mail/RFC822.php
+++ b/
Mail/RFC822.php
@@
-459,7
+459,7
@@
class Mail_RFC822 {
// And validate the group part of the name.
if (!$this->_validatePhrase($groupname)){
- $this->error =
'Group name did not validate.'
;
+ $this->error =
"Group name did not validate: '{$groupname}'"
;
return false;
} else {
// Don't include groups if we are not nesting