remove club permissions on conversion

This commit is contained in:
HB9HIL
2025-01-07 06:49:32 +01:00
parent a953ad7faa
commit 5e13f920c6
2 changed files with 8 additions and 11 deletions

View File

@@ -92,7 +92,7 @@ class User extends CI_Controller {
$user_id = $this->input->post('user_id', true) ?? '';
$convert_to = $this->input->post('convert_to', true) ?? '';
if ($convert_to != '0' && $convert_to != '1') {
if ($convert_to !== '0' && $convert_to !== '1') {
$this->session->set_flashdata('error', __("Invalid Parameter!"));
redirect('dashboard');
}