First item in each category list is not a link

The first link was displaying incorrectly because of a bug with a ” sign. On line 60 of ListCatDisplayer.php, there was a wrong “:

$this->lcp_output .= '<' . $tag;
        if (isset($this->params['class'])): $this->lcp_output .= ' class="' . $this->params['class']; endif;
        $this->lcp_output .= '">';

As you can see, I was always adding the ” when closing the tag. So this produced:
enter image description here
And if you specified a class and added more parameters, the wrong ” made the whole markup to be wrong.

I’ve fixed it to add the ” only on the class line:

$this->lcp_output .= '<' . $tag;
        if (isset($this->params['class'])): $this->lcp_output .= ' class="' . $this->params['class'] . '"'; endif;
        $this->lcp_output .= '>';

It was fixed in version 0.20.2, now ready for update. Sorry for the inconvenience, and sorry you didn’t get much help in the comments. Usually users tend to be friendlier over here.

Leave a Comment