diff --git a/src/acdhOeaw/arche/lib/disserv/dissemination/ServiceTrait.php b/src/acdhOeaw/arche/lib/disserv/dissemination/ServiceTrait.php index bb5d85b..99da478 100644 --- a/src/acdhOeaw/arche/lib/disserv/dissemination/ServiceTrait.php +++ b/src/acdhOeaw/arche/lib/disserv/dissemination/ServiceTrait.php @@ -245,8 +245,8 @@ public function getLocation(): string { */ public function getRevProxy(): bool { $meta = $this->getMetadata(); - $value = $meta->getObject(new PT($this->getRepo()->getSchema()->dissService->revProxy))?->getValue() ?? false; - return (bool) $value; + $value = $meta->getObject(new PT($this->getRepo()->getSchema()->dissService->revProxy))?->getValue() ?? 'false'; + return $value === 'true'; } /**