Skip to content

Commit 8a4336e

Browse files
Fixes a typo
Signed-off-by: Jon Stovell <jonstovell@gmail.com>
1 parent 1c9e53b commit 8a4336e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/Actions/AttachmentApprove.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function execute(): void
100100

101101
while ($row = Db::$db->fetch_assoc($request)) {
102102
// We can only add it if we can approve in this board!
103-
if ($allowed_boards = [0] || \in_array($row['id_board'], $allowed_boards)) {
103+
if ($allowed_boards === [0] || \in_array($row['id_board'], $allowed_boards)) {
104104
$attachments[] = $row['id_attach'];
105105

106106
// Also come up with the redirection URL.

0 commit comments

Comments
 (0)