Skip to content
Snippets Groups Projects
Commit b1b92687 authored by Frode Petterson's avatar Frode Petterson
Browse files

JI-942 Fix input clean

parent 84c98d67
No related branches found
No related tags found
No related merge requests found
......@@ -342,8 +342,8 @@ function hvp_content_upgrade_progress($libraryid) {
if ($skipped !== null) {
$out->skipped = json_decode($skipped);
// Clean up input, only numbers.
foreach ($skipped as $i => $id) {
$skipped[$i] = intval($id);
foreach ($out->skipped as $i => $id) {
$out->skipped[$i] = intval($id);
}
$skipped = implode(',', $out->skipped);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment