Merge pull request #21 from tobenschmidt/master
Call split in channels_for_project only once
This commit is contained in:
@@ -205,7 +205,8 @@ private
|
||||
# Channel name '-' or empty '' is reserved for NOT notifying
|
||||
return [] if val.to_s == ''
|
||||
return [] if val.to_s == '-'
|
||||
val.split(",")
|
||||
return val.split(",") if val.is_a? String
|
||||
val
|
||||
end
|
||||
|
||||
def detail_to_field(detail)
|
||||
|
||||
Reference in New Issue
Block a user