2009-11-25 Miguel de Dios <miguel.dedios@artica.es>

* operation/events/events_rss.php: fix the bug in the creation of xml.
	Fixes: 2902134



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2133 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2009-11-25 14:56:51 +00:00
parent 4c72ed10f3
commit a2e7d64b08
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2009-11-25 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events_rss.php: fix the bug in the creation of xml.
Fixes: 2902134
2009-11-25 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/status_monitor.php: fix the what interval to check in

View File

@ -114,11 +114,11 @@ foreach ($result as $row) {
$rss_feed .= '<item><guid>';
$rss_feed .= safe_input ($url . "/index.php?sec=eventos&sec2=operation/events/events&id_event=" . $row['event_id']);
$rss_feed .= '</guid><title>';
$rss_feed .= safe_output_xml ($row['agent_name']);
$rss_feed .= safe_input ($row['agent_name']);
$rss_feed .= '</title><description>';
$rss_feed .= safe_output_xml ($row['event_descr']);
$rss_feed .= safe_input ($row['event_descr']);
if($row['validated'] == 1) {
$rss_feed .= '<br /><br />Validated by ' . safe_output_xml ($row['validated_by']);
$rss_feed .= '<br /><br />Validated by ' . safe_input ($row['validated_by']);
}
$rss_feed .= '</description><link>';
$rss_feed .= safe_input ($url . "/index.php?sec=eventos&sec2=operation/events/events&id_event=" . $row["event_id"]);