Commit 6d02c582 authored by Henning Leutz's avatar Henning Leutz 🥋

fix: #90

parent 4eb93282
......@@ -604,6 +604,23 @@ class Manager
}
}
// cleanup duplicated
// quiqqer/package-bricks#90
$exists = [];
$settings = \array_filter($settings, function ($entry) use (&$exists) {
$name = $entry['name'];
if (isset($exists[$name])) {
return false;
}
$exists[$name] = true;
return true;
});
try {
QUI\Cache\Manager::set($cache, $settings);
} catch (\Exception $Exception) {
......
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