diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-12-20 15:43:20 -0500 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-12-20 15:43:20 -0500 |
commit | 9d7a567ecc3f91ba5a0f1fe0ffd20add77687e73 (patch) | |
tree | 235c9594653b4c4c08efd572d307de5707c1019b /lib/noticelist.php | |
parent | 946eee42568918903bb357d5cfea57fbe40c4f6e (diff) |
two undefined variables in noticelist.php
darcs-hash:20081220204320-84dde-cc64afc5ad47f07ace499fe932f59f898dd8f0dd.gz
Diffstat (limited to 'lib/noticelist.php')
-rw-r--r-- | lib/noticelist.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php index 5b65f586f..415c062e4 100644 --- a/lib/noticelist.php +++ b/lib/noticelist.php @@ -143,7 +143,7 @@ class NoticeListItem { function show_notice_link() { $noticeurl = common_local_url('shownotice', array('notice' => $this->notice->id)); # XXX: we need to figure this out better. Is this right? - if (strcmp($this->notice->uri, $this->noticeurl) != 0 && preg_match('/^http/', $this->notice->uri)) { + if (strcmp($this->notice->uri, $noticeurl) != 0 && preg_match('/^http/', $this->notice->uri)) { $noticeurl = $this->notice->uri; } common_element_start('a', array('class' => 'permalink', @@ -159,7 +159,7 @@ class NoticeListItem { if ($this->notice->source) { common_element('span', null, _(' from ')); $source_name = _($this->notice->source); - switch ($source) { + switch ($this->notice->source) { case 'web': case 'xmpp': case 'mail': |