This commit is contained in:
2023-01-11 15:28:47 +01:00
parent 4c51403daa
commit 05fd209204
7 changed files with 61 additions and 5 deletions

View File

@@ -58,9 +58,9 @@ class NMRelation implements Persistable {
public function getOtherHandler(DatabaseEntityHandler $handler): DatabaseEntityHandler {
if ($handler === $this->thisHandler) {
return $this->thisHandler;
} else {
return $this->otherHandler;
} else {
return $this->thisHandler;
}
}
}