== vs ===

This commit is contained in:
Denis Monnerat 2025-05-07 13:59:01 +02:00
parent 2dbf88edc2
commit 8c93e7baf0

@ -49,7 +49,7 @@ class Todo extends CI_Controller {
$todo = $this->model_todo->getTodo($id);
$this->form_validation->set_rules('todo', 'Todo', 'required');
if ($this->form_validation->run() == FALSE){
if ($this->form_validation->run() === FALSE){
$this->load->view('layout/header');
$this->load->view('edit',['todo'=>$todo]);
$this->load->view('layout/footer');