Skip to content

fix no favicon for rss feeds#917

Merged
jtojnar merged 1 commit into
fossar:masterfrom
niol:ppr/fixqueue
Apr 15, 2017
Merged

fix no favicon for rss feeds#917
jtojnar merged 1 commit into
fossar:masterfrom
niol:ppr/fixqueue

Conversation

@niol

@niol niol commented Apr 14, 2017

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread spouts/rss/feed.php Outdated
*/
public function getIcon() {
if (isset($this->faviconUrl)) {
if ($this->faviconUrl !== '') {

@jtojnar jtojnar Apr 14, 2017

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would not it be better to set it to null in the initial definition? In the spirit of #916.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no argument for or against this. The test must match the initial definition, otherwise it doesn't work, that's all.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then I would prefer that. I would like to have as much type checking as possible in PHP.

@jtojnar jtojnar merged commit 8fe04f8 into fossar:master Apr 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants