From 88d24e684b6479bba3ff2ffeae6d035bf1e07313 Mon Sep 17 00:00:00 2001 From: qiyu-xie Date: Tue, 20 Jul 2021 15:59:49 +0800 Subject: [PATCH] * Fix bug#13725. --- module/caselib/control.php | 4 ++-- module/testcase/control.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/module/caselib/control.php b/module/caselib/control.php index d9801719b9..d3f750f987 100644 --- a/module/caselib/control.php +++ b/module/caselib/control.php @@ -440,7 +440,7 @@ class caselib extends control } /** - * Export templet. + * Export template. * * @param int $libID * @access public @@ -490,7 +490,7 @@ class caselib extends control $this->post->set('kind', 'testcase'); $this->post->set('rows', $rows); $this->post->set('extraNum', $num); - $this->post->set('fileName', 'templet'); + $this->post->set('fileName', 'template'); $this->fetch('file', 'export2csv', $_POST); } diff --git a/module/testcase/control.php b/module/testcase/control.php index d34b9e050a..8deb6933b0 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -1448,7 +1448,7 @@ class testcase extends control } /** - * Export templet + * Export template. * * @param int $productID * @access public @@ -1505,7 +1505,7 @@ class testcase extends control $this->post->set('kind', 'testcase'); $this->post->set('rows', $rows); $this->post->set('extraNum', $num); - $this->post->set('fileName', 'templet'); + $this->post->set('fileName', 'template'); $this->fetch('file', 'export2csv', $_POST); }