application/modules/user_manager/admin.php 1 location
|
@@ 427-432 (lines=6) @@
|
| 424 |
|
$val->set_rules('new_pass_conf', lang('amt_new_pass_confirm'), 'matches[new_pass]|required'); |
| 425 |
|
} |
| 426 |
|
|
| 427 |
|
if ($user_data['email'] != $this->input->post('email')) { |
| 428 |
|
if ($this->user2->check_email($this->input->post('email'))->num_rows() > 0) { |
| 429 |
|
showMessage(lang('amt_email_exists'), false, 'r'); |
| 430 |
|
exit; |
| 431 |
|
} |
| 432 |
|
} |
| 433 |
|
|
| 434 |
|
if ($val->run()) { |
| 435 |
|
$data = [ |
application/modules/menu/admin.php 1 location
|
@@ 979-982 (lines=4) @@
|
| 976 |
|
exit; |
| 977 |
|
} |
| 978 |
|
|
| 979 |
|
if ($this->db->get_where('menus', ['name' => $this->input->post('menu_name')])->num_rows() > 0) { |
| 980 |
|
showMessage(lang('The menu with the same name has been created yet'), false, 'r'); |
| 981 |
|
exit; |
| 982 |
|
} |
| 983 |
|
} |
| 984 |
|
|
| 985 |
|
/** |