diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/stream.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stream.php b/lib/stream.php index b94033d6a..fbdba91c9 100644 --- a/lib/stream.php +++ b/lib/stream.php @@ -96,8 +96,8 @@ class StreamAction extends Action { } common_element_end('p'); $noticeurl = common_local_url('shownotice', array('notice' => $notice->id)); - # XXX: we need to figure this out better - if ($notice->uri != $noticeurl && preg_match('/^http/', $notice->uri)) { + # XXX: we need to figure this out better. Is this right? + if (strcmp($notice->uri, $noticeurl) != 0 && preg_match('/^http/', $notice->uri)) { $noticeurl = $notice->uri; } common_element_start('p', 'time'); |