Skip to content

Commit

Permalink
Update warranty_controller.php
Browse files Browse the repository at this point in the history
Use Kiss View
  • Loading branch information
bochoven committed Oct 25, 2020
1 parent e4b070a commit d2d6049
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion warranty_controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ public function admin()
{
require $this->module_path . '/warranty_upload.php';
$uploader = new Warranty_upload;
view('admin_form', ['result' => $uploader->handleUpload()], $this->module_path . '/views/');
$obj = new View();
$obj->view('admin_form', ['result' => $uploader->handleUpload()], $this->module_path . '/views/');
}

public function update_status()
Expand Down

0 comments on commit d2d6049

Please sign in to comment.