Commit 524957a1 authored by Roumen Damianoff's avatar Roumen Damianoff
Browse files

fixed link type

parent 38f3a280
......@@ -202,18 +202,7 @@ class Feed
{
if ($this->ctype == null)
{
switch ($format)
{
case "rss":
$type = 'application/rss+xml';
break;
case "atom":
$type = 'application/atom+xml';
break;
default:
$type = 'application/atom+xml';
break;
}
($format == 'rss') ? $type = 'application/rss+xml' : $type = 'application/atom+xml';
}
else
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment