projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pman.Dialog.Image.bjs
[Pman.Core]
/
DataObjects
/
Person.php
diff --git
a/DataObjects/Person.php
b/DataObjects/Person.php
index
fade057
..
8b16e61
100644
(file)
--- a/
DataObjects/Person.php
+++ b/
DataObjects/Person.php
@@
-217,6
+217,9
@@
class Pman_Core_DataObjects_Person extends DB_DataObject
function getEmailFrom()
{
+ if (empty($this->name)) {
+ return $this->email;
+ }
return '"' . addslashes($this->name) . '" <' . $this->email . '>';
}
function toEventString()