From: Alan Knowles Date: Tue, 15 Dec 2020 07:34:33 +0000 (+0800) Subject: actually import the data X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=e6c71da7e4ab35bfd94dd1d9fbb543267cb95bdb;hp=78148505ccefcbe590a22b9139871ad71b345d5e;p=Pman.Admin actually import the data --- diff --git a/Import/Core_templatestr.php b/Import/Core_templatestr.php index 9f9e773..c71d884 100644 --- a/Import/Core_templatestr.php +++ b/Import/Core_templatestr.php @@ -58,10 +58,10 @@ class Pman_Admin_Import_Core_templatestr extends Pman //$rows = $this->readXLS("/home/alan/Downloads/oll_example.xls") ; $rows = $this->readXLS($_FILES['imageUpload']['tmp_name']) ; - //$ret = $this->processRows($rows); + $ret = $this->processRows($rows); - $this->jok("DONE", false, array('extra'=> $rows)); + $this->jok("DONE", false, array('extra'=> $ret)); }