Fixed issue with elementarray null if num_rows = 0
This commit is contained in:
parent
6a78ce65e9
commit
7b448a2d18
@ -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
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user