mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
add condition in query
This commit is contained in:
parent
5526bb49ed
commit
83e5c14b1d
@ -1075,6 +1075,8 @@ class Tree
|
|||||||
ON ta.id_agente = tasg.id_agent
|
ON ta.id_agente = tasg.id_agent
|
||||||
LEFT JOIN talert_template_modules tatm
|
LEFT JOIN talert_template_modules tatm
|
||||||
ON tatm.id_agent_module = tam.id_agente_modulo
|
ON tatm.id_agent_module = tam.id_agente_modulo
|
||||||
|
AND tatm.id_alert_template = 1
|
||||||
|
OR tatm.id_alert_template = NULL
|
||||||
$inner
|
$inner
|
||||||
WHERE tam.disabled = 0 AND ta.disabled = 0
|
WHERE tam.disabled = 0 AND ta.disabled = 0
|
||||||
$condition
|
$condition
|
||||||
|
Loading…
x
Reference in New Issue
Block a user