mirror of https://github.com/MISP/MISP
fix: [whitelist] Correclty refresh the cached values. Fix #3772
parent
46eb5475e3
commit
aad74d6ca9
|
@ -68,7 +68,7 @@ class Whitelist extends AppModel
|
|||
|
||||
public function getBlockedValues()
|
||||
{
|
||||
if ($this->whitelistedItems !== false) {
|
||||
if ($this->whitelistedItems === false) {
|
||||
$Whitelists = $this->find('all', array('fields' => array('name')));
|
||||
$this->whitelistedItems = array();
|
||||
foreach ($Whitelists as $item) {
|
||||
|
|
Loading…
Reference in New Issue