diff --git a/themes/gokbakja/pages/actions/bag-report.htm b/themes/gokbakja/pages/actions/bag-report.htm index 7a0275d..4d4d646 100644 --- a/themes/gokbakja/pages/actions/bag-report.htm +++ b/themes/gokbakja/pages/actions/bag-report.htm @@ -126,7 +126,7 @@ function onStart() { $reportDatas[$x]["width"] = $bagProds[$x]->width; $reportDatas[$x]["height"] = $bagProds[$x]->height; - $reportDatas[$x]["color"] = $bagProds[$x]->color->name; + $reportDatas[$x]["color"] = $bagProds[$x]->color->name ?? ""; $reportDatas[$x]["bag_gram"] = $bagProds[$x]->bag_gram ?? 0; $reportDatas[$x]["amount"] = $action; $reportDatas[$x]["defective"] = $calculateBrak;