== vs ===
This commit is contained in:
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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user