projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd7686d
)
Only return the bare email address if there is no full name.
author
Jan Schneider
<jan@horde.org>
Thu, 6 Jan 2011 17:07:38 +0000
(18:07 +0100)
committer
Jan Schneider
<jan@horde.org>
Thu, 6 Jan 2011 17:07:38 +0000
(18:07 +0100)
framework/Prefs/lib/Horde/Prefs/Identity.php
patch
|
blob
|
history
diff --git
a/framework/Prefs/lib/Horde/Prefs/Identity.php
b/framework/Prefs/lib/Horde/Prefs/Identity.php
index
c8b5bdf
..
6c5ca3c
100644
(file)
--- a/
framework/Prefs/lib/Horde/Prefs/Identity.php
+++ b/
framework/Prefs/lib/Horde/Prefs/Identity.php
@@
-388,9
+388,10
@@
class Horde_Prefs_Identity
$addr = $this->getValue($this->_prefnames['from_addr']);
if (empty($addr)) {
$addr = $this->_user;
- if (empty($from_addr)) {
- return $addr;
- }
+ }
+
+ if (empty($from_addr)) {
+ return $addr;
}
return $from_addr . '<' . $addr . '>';