Skip to content

Commit 171fb02

Browse files
Gargronhiyuki2578
authored andcommitted
Fix approved column being set to nil instead of false (mastodon#10642)
Fix mastodon#10621 (comment)
1 parent 492eb96 commit 171fb02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/models/user.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def open_registrations?
282282
end
283283

284284
def external?
285-
@external
285+
!!@external
286286
end
287287

288288
def sanitize_languages

0 commit comments

Comments
 (0)