Skip to content

Commit 16259fb

Browse files
fix: duplicate data names error
1 parent c5334aa commit 16259fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/ppom.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ function get_meta_id( $product_id ) {
204204
}
205205
}
206206

207-
return apply_filters( 'ppom_product_meta_id', $ppom_product_id, $product_id );
207+
return apply_filters( 'ppom_product_meta_id', array_unique( $ppom_product_id ), $product_id );
208208
}
209209

210210
// Properties functions

0 commit comments

Comments
 (0)