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:
Laurent Destailleur 2018-02-25 12:28:48 +01:00 committed by GitHub
commit 2472dd4d99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
{