changeset 2640:3a0cd11bf232

Typo (CP error)
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Thu, 19 Jan 2017 13:11:38 +0000
parents 2d9955974316
children 757e3956845c
files php/save.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/php/save.php	Thu Jan 19 13:10:59 2017 +0000
+++ b/php/save.php	Thu Jan 19 13:11:38 2017 +0000
@@ -117,7 +117,7 @@
                 $pn2 = 0;
             }
             if ($pn2 == 0) {
-                $pn1 = $doc->importNode($page->item(0), true);
+                $pn1 = $doc->importNode($page, true);
                 $docRoot->appendChild($pn1);
             }
         }