added eventpage (not in linkstructure yet)

This commit is contained in:
marko
2023-12-23 14:32:48 +01:00
parent b42197852c
commit 868c05f0c1
9 changed files with 64 additions and 11 deletions

View File

@@ -87,6 +87,9 @@ class Event
if ((!isset($this->shiai) || $forceLoading) && isset($this->shiaiId)) {
$this->shiai = Shiai::loadFromDb($this->shiaiId);
}
if ($this->shiai == null){
$this->shiai = Shiai::fromDbArray(json_decode($this->remarks, true));
}
return $this->shiai;
}