diff php/requestKey.php @ 2810:939d5fdfdc32

Merge branch 'master' into vnext
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Tue, 25 Apr 2017 12:11:33 +0100
parents 1ba5ac9d88e7
children 8805556c0f42
line wrap: on
line diff
--- a/php/requestKey.php	Tue Apr 25 09:52:30 2017 +0100
+++ b/php/requestKey.php	Tue Apr 25 12:11:33 2017 +0100
@@ -58,7 +58,8 @@
 $doc_struct = new DOMDocument;
 $doc_struct->preserveWhiteSpace = false;
 $doc_struct->formatOutput = true;
-$doc_struct->loadXML("<waetresult/>");
+$doc_struct->loadXML("<waetresult />");
+$doc_struct->documentElement->setAttribute("key", $key);
 // Add the root
 if (file_exists($testURL)) {
     $test_proto_doc = new DOMDocument;