RS, DG; stop crashing trying to socket albums
This commit is contained in:
parent
ab25e35a71
commit
cf5476f601
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ class Person
|
|||
model_class = class_name.to_s.camelize.constantize
|
||||
post = model_class.instantiate(options)
|
||||
post.notify_people
|
||||
post.socket_to_uid owner.id if owner_id
|
||||
post.socket_to_uid owner.id if (owner_id && post.respond_to?( :socket_to_uid))
|
||||
post
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue