Send report id back as integer to the viewer

This commit is contained in:
Latif Khalifa
2013-11-24 07:14:58 +01:00
parent cf487bb719
commit f39754f697

View File

@@ -21,7 +21,7 @@ if (strlen($report))
header("Content-Type: application/llsd+xml");
print '<?xml version="1.0" ?><llsd><map><key>message</key><string>Report saved with report_id=' . $report_id . '</string><key>success</key><boolean>true</boolean></map></llsd>';
print '<?xml version="1.0" ?><llsd><map><key>message</key><string>Report saved with report_id=' . $report_id . '</string><key>success</key><boolean>true</boolean><key>report_id</key><integer>' . $report_id . '</integer></map></llsd>';
/*
* Local variables:
* tab-width: 4