Skip to content

Commit

Permalink
Added return statement in Maxmind & Fraudlabspro
Browse files Browse the repository at this point in the history
  • Loading branch information
condor2 committed Dec 21, 2023
1 parent ee271fc commit 35b0157
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions upload/admin/controller/extension/fraud/fraudlabspro.php
Original file line number Diff line number Diff line change
Expand Up @@ -398,9 +398,11 @@ public function order(): string {
$data['flp_credits'] = '';
}

return $this->load->view('extension/fraud/fraudlabspro_info', $data);
}
}
return $this->load->view('extension/fraud/fraudlabspro_info', $data);
} else {
return '';
}
}

private function fix_case(string $s) {
$s = ucwords(strtolower($s));
Expand Down
8 changes: 5 additions & 3 deletions upload/admin/controller/extension/fraud/maxmind.php
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,9 @@ public function order(): string {
$data['maxmind_id'] = $fraud_info['maxmind_id'];
$data['error'] = $fraud_info['error'];

return $this->load->view('extension/fraud/maxmind_info', $data);
}
}
return $this->load->view('extension/fraud/maxmind_info', $data);
} else {
return '';
}
}
}

0 comments on commit 35b0157

Please sign in to comment.