Commit 7cdf13ff authored by paalj's avatar paalj

Don't invoke clearFilteredParameters for empty array

parent a20485c3
......@@ -1647,8 +1647,11 @@ class H5PStorage {
$library_ids[] = $library['libraryId'];
// Make sure libraries dependencies, parameter filtering and export files gets regenerated for all content who uses these libraries.
if (!empty($library_ids)) {
// Tell the user what we've done.
if ($newOnes && $oldOnes) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment