@@ -445,7 +445,15 @@ class Model_logic_order extends Lin_Model {
*/
public function skuTransferFeatures($sku,$typeclass,$dtc,$dtctitle,$classid){
$q = '1;';
-
+ if(empty($sku)){
+ return [
+ 'title'=>"",
+ 'p' => "",
+ 'jm' => "",
+ 'zh' => "",
+ 'bm' => "",
+ ];
+ }
$r = $this->apimodel->matching(trim($q, ';'), $sku,$dtc,[],[],$dtctitle,[],[]);
$p = '';
$product = explode(';', trim($r['product'], ';'));