|
|
@@ -5327,12 +5327,15 @@ class Whlabel extends Start_Controller
|
|
|
$details = array();
|
|
|
$cpid = array();
|
|
|
foreach ($x as $k => $v) {
|
|
|
- if ($v['details'] != '') {
|
|
|
- $details[$v['details']] = $v['details'];
|
|
|
- }
|
|
|
- if ($v['cpid'] != 0) {
|
|
|
- $cpid[$v['cpid']] = $v['cpid'];
|
|
|
+ if($v['status'] == 0){
|
|
|
+ if ($v['details'] != '') {
|
|
|
+ $details[$v['details']] = $v['details'];
|
|
|
+ }
|
|
|
+ if ($v['cpid'] != 0) {
|
|
|
+ $cpid[$v['cpid']] = $v['cpid'];
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
$info_list[$key]['details'] = ($details) ? implode(" ", $details) : '';
|
|
|
$info_list[$key]['cpid'] = ($cpid) ? implode(" ", $cpid) : '';
|