changeset 2752:a99c5f008c2d

Minor
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Tue, 25 Apr 2017 12:03:25 +0100
parents 6a36f5777af9
children 1ba5ac9d88e7
files php/requestKey.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/php/requestKey.php	Tue Apr 25 12:01:32 2017 +0100
+++ b/php/requestKey.php	Tue Apr 25 12:03:25 2017 +0100
@@ -58,7 +58,7 @@
 $doc_struct = new DOMDocument;
 $doc_struct->preserveWhiteSpace = false;
 $doc_struct->formatOutput = true;
-$doc_struct->loadXML("<waetresult key=".$key."/>");
+$doc_struct->loadXML("<waetresult key=\"".$key."\"/>");
 // Add the root
 if (file_exists($testURL)) {
     $test_proto_doc = new DOMDocument;