]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/noticelist.php
Merge branch 'facebook-js-fix' into testing
[quix0rs-gnu-social.git] / lib / noticelist.php
index 5eb2633ac288ccbf479df5b84369374b94430022..78abf34a76d512bb6fd289fbd6f4a5ce4fabf153 100644 (file)
@@ -379,7 +379,7 @@ class NoticeListItem extends Widget
 
     function showNoticeLink()
     {
-        if($this->notice->is_local){
+        if($this->notice->is_local == Notice::LOCAL_PUBLIC || $this->notice->is_local == Notice::LOCAL_NONPUBLIC){
             $noticeurl = common_local_url('shownotice',
                                       array('notice' => $this->notice->id));
         }else{