Send report id back as integer to the viewer
This commit is contained in:
@@ -21,7 +21,7 @@ if (strlen($report))
|
|||||||
|
|
||||||
|
|
||||||
header("Content-Type: application/llsd+xml");
|
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:
|
* Local variables:
|
||||||
* tab-width: 4
|
* tab-width: 4
|
||||||
|
|||||||
Reference in New Issue
Block a user