projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91588b9
)
MTrack/SCMEvent.php
author
Alan Knowles
<alan@akbkhome.com>
Sat, 25 Jun 2011 15:19:38 +0000
(23:19 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sat, 25 Jun 2011 15:19:38 +0000
(23:19 +0800)
MTrack/SCMEvent.php
patch
|
blob
|
history
diff --git
a/MTrack/SCMEvent.php
b/MTrack/SCMEvent.php
index
f4296df
..
50eba60
100644
(file)
--- a/
MTrack/SCMEvent.php
+++ b/
MTrack/SCMEvent.php
@@
-49,12
+49,13
@@
class MTrackSCMEvent
/**
* return the changeby as a RFC address..
*/
- function changebyTo
RFC
()
+ function changebyTo
Email
()
{
require_once 'Mail/RFC822.php';
$m = new Mail_RFC822;
- $m->parseAddressList($this->changeby);
- return $m;
+ $addr = $m->parseAddressList($this->changeby);
+ return $addr['mailbox'].'@'.$add['host'];
+
}
}
\ No newline at end of file