Update actioncomm.class.php

This commit is contained in:
Laurent Destailleur 2017-11-02 10:45:27 +01:00 committed by GitHub
parent bab43b043e
commit c226fc69d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -635,6 +635,7 @@ class ActionComm extends CommonObject
$sql ='SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency';
$sql.=' FROM '.MAIN_DB_PREFIX.'actioncomm_resources';
$sql.=' WHERE fk_actioncomm = '.$this->id;
$sql.=" AND element_type IN ('user', 'socpeople')";
$resql=$this->db->query($sql);
if ($resql)
{