Skip to content

Commit

Permalink
fix ukrnet encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxpl committed Nov 8, 2021
1 parent c912ece commit 38f0c38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
CHANGELOG
==============

1.0.7
-----------------
* Fix Ukrnet encoding

1.0.6
-----------------
* Add Ukrnet feed with filter related property
Expand Down
2 changes: 1 addition & 1 deletion src/views/feed/ukrnet.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php echo '<?xml version="1.0" encoding=""'.\Yii::$app->charset.'""?>'.PHP_EOL; ?>
<?php echo '<?xml version="1.0" encoding="'.\Yii::$app->charset.'"?>'.PHP_EOL; ?>
<rss version="2.0" xmlns="http://backend.userland.com/rss2">
<channel>
<title><?=(!empty($tree) ? ($tree->meta_title ? $tree->meta_title : $tree->name) : \Yii::$app->cms->cmsSite->name);?></title>
Expand Down

0 comments on commit 38f0c38

Please sign in to comment.