application/modules/mod_promocode/mod_promocode.php
Method _setRegister
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function _setRegister($param) {
$ci =& get_instance();
$id_custom_field = $ci->db->where('identif', 'mod_promocode')->get('components')->row()->settings;
if (!$id_custom_field) {
return false;
- Create a ticketCreate a ticket
Method _setRegisterPost
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function _setRegisterPost($param) {
$ci =& get_instance();
$id_custom_field = $ci->db->where('identif', 'mod_promocode')->get('components')->row()->settings;
if (!$id_custom_field) {
return false;
- Create a ticketCreate a ticket