# HG changeset patch # User Nicholas Jillings # Date 1484831065 0 # Node ID 8fc8d28d8e8ef623f28d6f59d5ebcc64b69a2829 # Parent 325e1ca3e03b439795c8744c2ee2a93ff89e70c3 Typos in PHP diff -r 325e1ca3e03b -r 8fc8d28d8e8e php/save.php --- a/php/save.php Thu Jan 19 13:03:08 2017 +0000 +++ b/php/save.php Thu Jan 19 13:04:25 2017 +0000 @@ -51,7 +51,7 @@ // $n1 = $docRoot->getElementsByTagName("datetime"); $n2 = $saved_root->getElementsByTagName("datetime"); -if ($n1->length > 0 && $n2.length == 0) { +if ($n1->length > 0 && $n2->length == 0) { $n1 = $doc->importNode($n1->item(0), true); $docRoot->appendChild($n1); } @@ -59,7 +59,7 @@ // $n1 = $docRoot->getElementsByTagName("navigator"); $n2 = $saved_root->getElementsByTagName("navigator"); -if ($n1->length > 0 && $n2.length == 0) { +if ($n1->length > 0 && $n2->length == 0) { $n1 = $doc->importNode($n1->item(0), true); $docRoot->appendChild($n1); }