Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #111 from Talean-dev/patch-1
Browse files Browse the repository at this point in the history
Update view/xml.php
  • Loading branch information
Roumen Damianoff authored Jul 4, 2016
2 parents e9e8afe + 0a9f2ad commit 8545cf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/xml.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
}
}

if (!empty($item['alternate'])) {
foreach ($item['alternate'] as $alternate) {
if (!empty($item['alternates'])) {
foreach ($item['alternates'] as $alternate) {
echo "\t\t" . '<xhtml:link rel="alternate" media="' . $alternate['media'] . '" href="' . $alternate['url'] . '" />' . "\n";
}
}
Expand Down

0 comments on commit 8545cf8

Please sign in to comment.