mirror of https://github.com/MISP/MISP
Merge branch '2.4' of github.com:MISP/MISP into 2.4
commit
a359cbb858
|
@ -427,8 +427,8 @@ class Tag extends AppModel
|
||||||
public function checkForOverride($tags)
|
public function checkForOverride($tags)
|
||||||
{
|
{
|
||||||
$userId = Configure::read('CurrentUserId');
|
$userId = Configure::read('CurrentUserId');
|
||||||
$this->UserSetting = ClassRegistry::init('UserSetting');
|
|
||||||
if ($this->tagOverrides === false && $userId > 0) {
|
if ($this->tagOverrides === false && $userId > 0) {
|
||||||
|
$this->UserSetting = ClassRegistry::init('UserSetting');
|
||||||
$this->tagOverrides = $this->UserSetting->getTagNumericalValueOverride($userId);
|
$this->tagOverrides = $this->UserSetting->getTagNumericalValueOverride($userId);
|
||||||
}
|
}
|
||||||
foreach ($tags as $k => $tag) {
|
foreach ($tags as $k => $tag) {
|
||||||
|
|
Loading…
Reference in New Issue