if (isset($this->input->post('clear_tokens', TRUE)) && $this->input->post('clear_tokens', TRUE) == 1) {
}
මේ code එක error එකක් දෙන අවතාවක් තියෙනවා කුකුලෝ :P:P
if (isset($this->input->post('clear_tokens', TRUE))
මේ කැල්ල වැරදි නේද?return value එන්න පුළුවන් වෙලාවට isset දාලා check...