fix source name

darcs-hash:20081212041543-84dde-47540bac9f755be3101b7e403ae8940c90003f33.gz
This commit is contained in:
Evan Prodromou 2008-12-11 23:15:43 -05:00
parent 0782e5916b
commit da32755959

View File

@ -158,7 +158,7 @@ class NoticeListItem {
function show_notice_source() { function show_notice_source() {
if ($this->notice->source) { if ($this->notice->source) {
common_text(_(' from ')); common_text(_(' from '));
$source_name = _($source); $source_name = _($this->notice->source);
switch ($source) { switch ($source) {
case 'web': case 'web':
case 'xmpp': case 'xmpp':