diff --git a/application/controllers/monpas/Streefcijfers.php b/application/controllers/monpas/Streefcijfers.php index 4262ebf..2989f83 100644 --- a/application/controllers/monpas/Streefcijfers.php +++ b/application/controllers/monpas/Streefcijfers.php @@ -297,7 +297,7 @@ if(!$orgversie) { if (intval($ambitie->soort) <= intval($org->soort)) { $standaardNodig = false; } - $ambitie->aantalY = $this->Ijkpunten_model->telijkpunten($ambitie->orgversieID); + } } $orgversie->aantalY = $this->Ijkpunten_model->telijkpunten($orgversie->orgversieID);