Fix error when searching for pool that doesn't exist
This commit is contained in:
@@ -47,7 +47,7 @@ module PostSets
|
|||||||
end
|
end
|
||||||
|
|
||||||
def pool
|
def pool
|
||||||
::Pool.find(::Pool.name_to_id(pool_name))
|
::Pool.find_by_name(pool_name)
|
||||||
end
|
end
|
||||||
|
|
||||||
def has_deleted?
|
def has_deleted?
|
||||||
|
|||||||
Reference in New Issue
Block a user