FIX_SQL_INJECT3
This commit is contained in:
parent
13797b6299
commit
0c7c9f1ca6
@ -270,6 +270,7 @@ class BDSReportController extends AdminController
|
|||||||
//Function for get BAP INSURE wise data for premium , policy count , revenue only
|
//Function for get BAP INSURE wise data for premium , policy count , revenue only
|
||||||
public function getBAPInsurerData($category = 0, $start_date = null, $end_date = null)
|
public function getBAPInsurerData($category = 0, $start_date = null, $end_date = null)
|
||||||
{
|
{
|
||||||
|
$category = (int)$category;
|
||||||
try {
|
try {
|
||||||
$this->myLogger->logme('error', 'getBAPInsurerData function called');
|
$this->myLogger->logme('error', 'getBAPInsurerData function called');
|
||||||
$this->myLogger->logme('error', 'category : {data}', ['data' => $category]);
|
$this->myLogger->logme('error', 'category : {data}', ['data' => $category]);
|
||||||
@ -429,7 +430,7 @@ class BDSReportController extends AdminController
|
|||||||
//Function for get BAP CLIENT wise data for premium , policy count , revenue only
|
//Function for get BAP CLIENT wise data for premium , policy count , revenue only
|
||||||
public function getBAPClientData($category = 0, $start_date = null, $end_date = null)
|
public function getBAPClientData($category = 0, $start_date = null, $end_date = null)
|
||||||
{
|
{
|
||||||
|
$category = (int)$category;
|
||||||
try {
|
try {
|
||||||
$this->myLogger->logme('error', 'getBAPClientData function called');
|
$this->myLogger->logme('error', 'getBAPClientData function called');
|
||||||
$this->myLogger->logme('error', 'category : {data}', ['data' => $category]);
|
$this->myLogger->logme('error', 'category : {data}', ['data' => $category]);
|
||||||
@ -530,7 +531,7 @@ class BDSReportController extends AdminController
|
|||||||
//Function for get CLIENT wise data for premium and policy count only
|
//Function for get CLIENT wise data for premium and policy count only
|
||||||
public function getClientData($category = 0, $start_date = null, $end_date = null)
|
public function getClientData($category = 0, $start_date = null, $end_date = null)
|
||||||
{
|
{
|
||||||
|
$category = (int)$category;
|
||||||
try {
|
try {
|
||||||
|
|
||||||
$this->myLogger->logme('error', 'getClientData function called');
|
$this->myLogger->logme('error', 'getClientData function called');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user