changeset 2641:757e3956845c

Same as last (CP error)
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Thu, 19 Jan 2017 13:12:31 +0000
parents 3a0cd11bf232
children 77204f78386a
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:11:38 2017 +0000
+++ b/php/save.php	Thu Jan 19 13:12:31 2017 +0000
@@ -125,7 +125,7 @@
 }
 
 // Iterate through new doc
-$wbytes = $doc_struct->save($filename);
+$wbytes = $doc->save($filename);
 
 // Return XML confirmation data
 $xml = '<response state="OK"><message>OK</message><file bytes="'.$wbytes.'">"'.$filename.'"</file></response>';