Skip to content

Commit 89ec851

Browse files
committed
Fixed issue with length=nil breaking multiple recording formats
1 parent 6b7cbcc commit 89ec851

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/bigbluebutton_formatter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def to_int(key)
2222
unless @hash.has_key?(key)
2323
0
2424
else
25-
@hash[key] = @hash[key].to_i
25+
@hash[key] = @hash[key].to_i rescue 0
2626
end
2727
end
2828

0 commit comments

Comments
 (0)