From 589dbc74ab863bcf7d84f5dddbac5031b7cb8d13 Mon Sep 17 00:00:00 2001 From: RameshT Date: Mon, 5 Aug 2024 11:28:57 +0530 Subject: [PATCH] Test Husky pre-commit hook. --- application/controllers/Form.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/application/controllers/Form.php b/application/controllers/Form.php index 438df96..926d997 100644 --- a/application/controllers/Form.php +++ b/application/controllers/Form.php @@ -10,8 +10,10 @@ class Form extends CI_Controller { public function __construct() { - parent::__construct();$this->load->model('Form_model') - }public function submit() + parent::__construct(); + $this->load->model('Form_model') + } + public function submit() { if (!$this->session->userdata('logged_in')) { // If not logged in, redirect to login page