Fix phpunit

This commit is contained in:
Laurent Destailleur 2018-06-24 18:15:49 +02:00
parent 459fe7189d
commit 8693775fc5

View File

@ -301,10 +301,11 @@ class AdvanceTargetingMailing extends CommonObject
/**
* Load object in memory from the database
*
* @param int $id Id object
* @return int <0 if KO, >0 if OK
* @param int $id Id object
* @param string $type_element Type target
* @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;
$sql = "SELECT";