Skip to content

Commit 53c83b4

Browse files
committed
Fix links to BA-documents
1 parent d50665e commit 53c83b4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

protected/models/Dokument.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ public static function create_if_necessary(string $typ, $antrag_termin_tagesordn
439439

440440
public function getOriginalLink(): string
441441
{
442-
return RIS_URL_PREFIX . $this->url;
442+
return RIS_PDF_PREFIX . $this->id;
443443
}
444444

445445
public function getLocalPath(): string
@@ -450,7 +450,7 @@ public function getLocalPath(): string
450450
return PATH_PDF . ($this->id % 100) . "/" . $this->id . "." . $extension;
451451
}
452452

453-
private static $dokumente_cache = [];
453+
private static array $dokumente_cache = [];
454454

455455
public static function getDocumentBySolrId(string $id, bool $cached = false): ?Dokument
456456
{

0 commit comments

Comments
 (0)