Skip to content

Commit af13640

Browse files
committed
Filter adjusted
1 parent 8cf9163 commit af13640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/ContentImport/ImportCoordinates.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function parse_importers_from_request(): void {
9292
$importers = array();
9393
foreach ( array( INPUT_POST, INPUT_GET ) as $input_type ) {
9494
if ( filter_has_var( $input_type, self::IMPORTERS_GLOBAL_KEY ) ) {
95-
$importers = filter_input( $input_type, self::IMPORTERS_GLOBAL_KEY, FILTER_FORCE_ARRAY );
95+
$importers = filter_input( $input_type, self::IMPORTERS_GLOBAL_KEY, FILTER_DEFAULT, FILTER_REQUIRE_ARRAY );
9696
break;
9797
}
9898
}

0 commit comments

Comments
 (0)