Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvdlinde committed Feb 18, 2020
2 parents 3b70c2c + c0eea91 commit 9f02344
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/Controller/DefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -350,11 +350,11 @@ public function setAction(Session $session, $slug = null, $value = null, Applica
$variables['request']['properties']['locatie'] = "https://pdc.zaakonline.nl/products/7a3489d5-2d2c-454b-91c9-caff4fed897f";
$variables['request']['properties']['ambtenaar'] = "https://pdc.zaakonline.nl/products/55af09c8-361b-418a-af87-df8f8827984b";
} else {
if (key_exists('locatie', $variables['request']['properties'])) {
if (key_exists('locatie', $variables['request']['properties']) && $slug == 'plechtigheid') {
unset($variables['request']['properties']['locatie']);
$this->addFlash('success', 'U kunt nu een locatie kiezen');
}
if (key_exists('ambtenaar', $variables['request']['properties'])) {
if (key_exists('ambtenaar', $variables['request']['properties']) && $slug == 'plechtigheid') {
unset($variables['request']['properties']['ambtenaar']);
$this->addFlash('success', 'U kunt nu een ambtenaar kiezen');
}
Expand Down

0 comments on commit 9f02344

Please sign in to comment.