FIX_ACTIVE MEMBERS IN SUBSCRIBERS LIST
This commit is contained in:
parent
17bce828ff
commit
ae3ef6867f
@ -262,7 +262,7 @@ public function getQueryforSubscriptionDetailsBySchemeName($flag,$condition, $va
|
|||||||
$currentDate = date('Y-m-d');
|
$currentDate = date('Y-m-d');
|
||||||
|
|
||||||
if ($downloadType === 'active') {
|
if ($downloadType === 'active') {
|
||||||
$result1 = $this->getQueryforSubscriptionDetailsBySchemeName(1,'s.to_subscription >', $currentDate,$selectedScheme);
|
$result1 = $this->getQueryforSubscriptionDetailsBySchemeName(1,'s.to_subscription >=', $currentDate,$selectedScheme);
|
||||||
$result2 = $this->getQueryforSubscriptionDetailsBySchemeName(1,'s.isactive', 1,$selectedScheme);
|
$result2 = $this->getQueryforSubscriptionDetailsBySchemeName(1,'s.isactive', 1,$selectedScheme);
|
||||||
// Flatten the arrays for comparison
|
// Flatten the arrays for comparison
|
||||||
$flattened1 = array_map('serialize', $result1);
|
$flattened1 = array_map('serialize', $result1);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user