Fixed issue with elementarray null if num_rows = 0

This commit is contained in:
Rui Strecht 2018-02-22 12:22:31 +00:00
parent b87feab1e3
commit 41c663f03f

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
{