Fix: List of category content
This commit is contained in:
parent
075117f8d6
commit
4d88519e6d
@ -444,8 +444,8 @@ class Categorie
|
|||||||
{
|
{
|
||||||
while ($rec = $this->db->fetch_array ($res))
|
while ($rec = $this->db->fetch_array ($res))
|
||||||
{
|
{
|
||||||
$obj = new $class ($this->db, $rec['fk_'.$field]);
|
$obj = new $class ($this->db);
|
||||||
$obj->fetch ($obj->id);
|
$obj->fetch ($rec['fk_'.$field]);
|
||||||
$objs[] = $obj;
|
$objs[] = $obj;
|
||||||
}
|
}
|
||||||
return $objs;
|
return $objs;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user