Skip to content
Snippets Groups Projects
Commit 0d521688 authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[BUGFIX] No import of urls from the realurl cache with more parameters than id and L

parent 132aeffe
No related branches found
No related tags found
No related merge requests found
......@@ -226,12 +226,10 @@ class RealUrlImportService implements SingletonInterface {
}
parse_str($originalParameterFromRealUrl[1], $urlParameters);
if (!count($urlParameters) || !array_key_exists('id', $urlParameters)) {
if (!count($urlParameters) || !array_key_exists('id', $urlParameters) || count($urlParameters) > 2) {
return FALSE;
}
return TRUE;
}
}
?>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment