* Finish task #9096.

This commit is contained in:
tianshujie98
2021-01-25 13:35:29 +08:00
parent 5b53075640
commit eb6de62f11
4 changed files with 9 additions and 11 deletions
+1 -3
View File
@@ -361,9 +361,7 @@ class custom extends control
{
/* Load module and get the data from the post. */
$this->loadModel('setting');
$data = fixer::input('post')
->setIF(!isset($_POST['efficiency']), 'efficiency', 1)
->get();
$data = fixer::input('post')->get();
/* Judgment of required items. */
if(($unit != $_POST['hourPoint']) and empty($_POST['scaleFactor']))