Commit 904091d4 authored by Dustin Gawron's avatar Dustin Gawron

Fix für leere Rollen <-> TOM Zuweisungen

parent 1d4cf681
......@@ -1451,7 +1451,7 @@
$tomRows = [];
if($tier !== 0) {
$sth = $this->pdo->prepare("SELECT * FROM ebene_rollen LEFT JOIN tom_rollen ON ebene_rollen.RoleID = tom_rollen.RoleID LEFT JOIN toms ON tom_rollen.TOMID = toms.Identifier WHERE EbeneID = ? ORDER BY Identifier ASC;");
$sth = $this->pdo->prepare("SELECT * FROM ebene_rollen INNER JOIN tom_rollen ON ebene_rollen.RoleID = tom_rollen.RoleID INNER JOIN toms ON tom_rollen.TOMID = toms.Identifier WHERE EbeneID = ? ORDER BY Identifier ASC;");
$sth->execute([$tier]);
$tomRows = $sth->fetchAll();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment