@@ -96,9 +96,9 @@ discard block |
||
| 96 | 96 | |
| 97 | 97 | function getRss($feeds, $toChannel, $discord) |
| 98 | 98 | { |
| 99 | - foreach ($feeds as $rssUrl){ |
|
| 99 | + foreach ($feeds as $rssUrl) { |
|
| 100 | 100 | //Check that url is set |
| 101 | - if (!isset($rssUrl) || $rssUrl == ""){ |
|
| 101 | + if (!isset($rssUrl) || $rssUrl == "") { |
|
| 102 | 102 | continue; |
| 103 | 103 | } |
| 104 | 104 | |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | } |
| 126 | 126 | |
| 127 | 127 | //Find item to post |
| 128 | - foreach($rss->channel->item as $item){ |
|
| 128 | + foreach ($rss->channel->item as $item) { |
|
| 129 | 129 | //Get item details |
| 130 | 130 | $itemTitle = (string) $item->title; |
| 131 | 131 | $itemUrl = (string) $item->link; |