lvhao 1 napja
szülő
commit
c9e2c798c2
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      core/CoreApp/controllers/Whlabelfz.php

+ 2 - 1
core/CoreApp/controllers/Whlabelfz.php

@@ -683,7 +683,7 @@ class Whlabelfz extends Start_Controller
 				'featurespp' => $yyh['featurespp'],
 				'time' => time(),
 				'dynum' => $info['1'],
-				'sku' => $info['sku'],
+				'sku' => $yyh['sku'],
 				'label' => time() . rand(0, 9).$i
 			]];
 		}
@@ -898,6 +898,7 @@ class Whlabelfz extends Start_Controller
 			$text['purchase'] = $purchase['title'];
 			$text['cpbz'] = $info['cpbz'];
 			$text['usa'] = 0;
+			ob_clean();
 			$rows = array('type'=>1,'n'=>$n-1,'data'=>$v,'text'=>$text);
 			echo json_encode(array('rows'=>($rows),'success'=>true));exit;