Fix phpunit
This commit is contained in:
parent
459fe7189d
commit
8693775fc5
@ -302,9 +302,10 @@ class AdvanceTargetingMailing extends CommonObject
|
|||||||
* Load object in memory from the database
|
* Load object in memory from the database
|
||||||
*
|
*
|
||||||
* @param int $id Id object
|
* @param int $id Id object
|
||||||
|
* @param string $type_element Type target
|
||||||
* @return int <0 if KO, >0 if OK
|
* @return int <0 if KO, >0 if OK
|
||||||
*/
|
*/
|
||||||
function fetch_by_element($id=0,$type_element='mailing')
|
function fetch_by_element($id=0, $type_element='mailing')
|
||||||
{
|
{
|
||||||
global $langs;
|
global $langs;
|
||||||
$sql = "SELECT";
|
$sql = "SELECT";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user