fix for dept
This commit is contained in:
parent
83569fac82
commit
5bb4aa95ee
|
@ -222,7 +222,7 @@ class Bulletin
|
||||||
end
|
end
|
||||||
|
|
||||||
def fetch_dept
|
def fetch_dept
|
||||||
self.cache_dept = (User.current.cache_dept rescue nil) || (User.find(self.create_user_id).cache_dept rescue nil) if self.new_record?
|
self.cache_dept = (User.find(self.create_user_id).cache_dept rescue nil) if self.new_record?
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Reference in New Issue