projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7eddb0
)
Show user name if both email address and full name are empty.
author
Jan Schneider
<jan@horde.org>
Mon, 15 Feb 2010 15:37:19 +0000
(16:37 +0100)
committer
Jan Schneider
<jan@horde.org>
Mon, 15 Feb 2010 17:03:59 +0000
(18:03 +0100)
kronolith/lib/FreeBusy.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/FreeBusy.php
b/kronolith/lib/FreeBusy.php
index
a73b4b8
..
3c80c49
100644
(file)
--- a/
kronolith/lib/FreeBusy.php
+++ b/
kronolith/lib/FreeBusy.php
@@
-63,6
+63,9
@@
class Kronolith_FreeBusy
$identity = Horde_Prefs_Identity::singleton('none', $user ? $user : $owner);
$email = $identity->getValue('from_addr');
$cn = $identity->getValue('fullname');
+ if (empty($mail) && empty($cn)) {
+ $cn = $user ? $user : $owner;
+ }
/* Fetch events. */
$busy = Kronolith::listEvents(new Horde_Date($startstamp), $enddate, $calendar);