Kevin M. Brooks (lucretio) wrote in lj_dev,
Kevin M. Brooks
lucretio
lj_dev

Navcrap shouldn't show, if comments are off

On talkread.bml, line 345, the navcrap is being displayed even if comments are disabled. I believe this shouldn't happen.

- if ($navcrap) {
-     $ret .= "<p>$navcrap</p>";
- }
-
  unless ($logprops{$itemid}->{'opt_nocomments'} or $u->'opt_showtalklinks'} eq "N") {
+     if ($navcrap) {
+         $ret .= "<p>$navcrap</p>";
+     }
      $ret .= "<center><b><a href='talkpost.bml?${jargent}itemid=$ditemid'>(Post a new comment)</a></b></center>";
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 4 comments