fixes #1635
This commit is contained in:
@@ -96,7 +96,7 @@ class Pool < ActiveRecord::Base
|
|||||||
end
|
end
|
||||||
|
|
||||||
def self.normalize_post_ids(post_ids)
|
def self.normalize_post_ids(post_ids)
|
||||||
post_ids.scan(/\d+/).join(" ")
|
post_ids.scan(/\d+/).uniq.join(" ")
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.find_by_name(name)
|
def self.find_by_name(name)
|
||||||
|
|||||||
Reference in New Issue
Block a user