Merge pull request #8214 from ruistrecht-alt/FIX_projet_elementarray_null
Fix issue with project.class.php elementarray null if num_rows = 0
This commit is contained in:
commit
2472dd4d99
@ -584,10 +584,10 @@ class Project extends CommonObject
|
||||
$i++;
|
||||
}
|
||||
$this->db->free($result);
|
||||
|
||||
/* Return array */
|
||||
return $elements;
|
||||
}
|
||||
|
||||
/* Return array even if empty*/
|
||||
return $elements;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user