Fixed issue with elementarray null if num_rows = 0

This commit is contained in:
Rui Strecht 2018-02-22 12:22:31 +00:00 committed by Laurent Destailleur
parent 6a78ce65e9
commit 7b448a2d18

View File

@ -583,10 +583,10 @@ class Project extends CommonObject
$i++;
}
$this->db->free($result);
/* Return array */
return $elements;
}
/* Return array even if empty*/
return $elements;
}
else
{