Update actioncomm.class.php
This commit is contained in:
parent
bab43b043e
commit
c226fc69d1
@ -635,6 +635,7 @@ class ActionComm extends CommonObject
|
|||||||
$sql ='SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency';
|
$sql ='SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency';
|
||||||
$sql.=' FROM '.MAIN_DB_PREFIX.'actioncomm_resources';
|
$sql.=' FROM '.MAIN_DB_PREFIX.'actioncomm_resources';
|
||||||
$sql.=' WHERE fk_actioncomm = '.$this->id;
|
$sql.=' WHERE fk_actioncomm = '.$this->id;
|
||||||
|
$sql.=" AND element_type IN ('user', 'socpeople')";
|
||||||
$resql=$this->db->query($sql);
|
$resql=$this->db->query($sql);
|
||||||
if ($resql)
|
if ($resql)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user