projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Close #510
[platal.git]
/
include
/
rss.inc.php
diff --git
a/include/rss.inc.php
b/include/rss.inc.php
index
a52bfbe
..
41ede2c
100644
(file)
--- a/
include/rss.inc.php
+++ b/
include/rss.inc.php
@@
-59,7
+59,9
@@
function init_rss($template, $alias, $hash, $require_uid = true)
}
}
- header('Content-Type: application/rss+xml; charset=utf8');
+ if ($template) {
+ header('Content-Type: application/rss+xml; charset=utf8');
+ }
return $uid;
}