diff --git a/op/op.ImportFS.php b/op/op.ImportFS.php index e19389c66..73afdeed4 100644 --- a/op/op.ImportFS.php +++ b/op/op.ImportFS.php @@ -61,6 +61,7 @@ function getAttributeData($attrdef, $coldata, $objdata) { /* {{{ */ function getCategoryData($colname, $coldata, $objdata) { /* {{{ */ global $catids; $kk = explode(',', $coldata); + $objdata['category'][] = array(); foreach($kk as $k) { if(isset($catids[$k])) $objdata['category'][] = $catids[$k];