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