fixup! Reformat PHP files as PSR-12

This commit is contained in:
Tim Düsterhus 2022-03-04 21:13:40 +01:00
parent adf8792cb2
commit d50f111997
Signed by: TimWolla
GPG Key ID: 8FF75566094168AF
1 changed files with 10 additions and 1 deletions

View File

@ -45,6 +45,15 @@ final class RoomFilledCondition extends AbstractCheckboxCondition implements IOb
throw new ParentClassException(\get_class($objectList), RoomList::class);
}
$objectList->getConditionBuilder()->add("EXISTS (SELECT 1 FROM chat" . WCF_N . "_room_to_user r2u WHERE r2u.roomID = room.roomID AND active = ?)", [ 1 ]);
$objectList->getConditionBuilder()->add(
"
EXISTS (
SELECT 1
FROM chat" . WCF_N . "_room_to_user r2u
WHERE r2u.roomID = room.roomID
AND active = ?
)",
[ 1 ]
);
}
}