Skip to content

Commit

Permalink
Merge pull request #29129 from mdeweerd/fix/rss
Browse files Browse the repository at this point in the history
Fix use $rssparser, not undefined $rss
  • Loading branch information
eldy authored Mar 30, 2024
2 parents fc87390 + 1560ba2 commit 64729f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/admin/external_rss.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* Copyright (C) 2005-2011 Regis Houssin <[email protected]>
* Copyright (C) 2011 Juanjo Menent <[email protected]>
* Copyright (C) 2020 Tobias Sekan <[email protected]>
* Copyright (C) 2024 MDW <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -280,7 +281,7 @@
print '<tr class="oddeven">';
print "<td>".$langs->trans("Status")."</td>";
print "<td>";
if ($result > 0 && empty($rss->error)) {
if ($result > 0 && empty($rssparser->error)) {
print '<span class="ok">'.$langs->trans("Online").'</div>';
} else {
print '<span class="error">'.$langs->trans("Offline");
Expand Down

0 comments on commit 64729f7

Please sign in to comment.