Fixed pops retrieval in Network

This commit is contained in:
Frank Schubert
2024-01-11 15:15:10 +01:00
parent 3a796e4921
commit d3287307ba

View File

@@ -114,7 +114,7 @@ class Network extends mfBaseModel {
}
if($name == "pops") {
$pops = PopNetworkModel::search(['network_id' => $this->id]);
$pops = PopModel::search(['network_id' => $this->id]);
$this->pops = $pops;
return $this->pops;
}