mirror of https://github.com/MISP/MISP
fix: [performance] query tweak to fool old crappy versions of mysql
parent
2e9b07c780
commit
9512043de9
|
@ -1804,7 +1804,7 @@ class Attribute extends AppModel
|
||||||
),
|
),
|
||||||
'Attribute.disable_correlation' => 0,
|
'Attribute.disable_correlation' => 0,
|
||||||
'Event.disable_correlation' => 0,
|
'Event.disable_correlation' => 0,
|
||||||
'Attribute.deleted' => 0
|
'(Attribute.deleted + 0)' => 0
|
||||||
);
|
);
|
||||||
if (!empty($extraConditions)) {
|
if (!empty($extraConditions)) {
|
||||||
$conditions['OR'][] = $extraConditions;
|
$conditions['OR'][] = $extraConditions;
|
||||||
|
|
Loading…
Reference in New Issue