lvhao il y a 8 heures
Parent
commit
011311bdc6
1 fichiers modifiés avec 8 ajouts et 5 suppressions
  1. 8 5
      core/CoreApp/controllers/Whlabel.php

+ 8 - 5
core/CoreApp/controllers/Whlabel.php

@@ -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) : '';