Fixed syntax error.
This commit is contained in:
parent
cd34b66de1
commit
8fe90274ca
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@ returns
|
|||
data[ Organization.to_app_model ] = {}
|
||||
end
|
||||
if !data[ Organization.to_app_model ][ self.organization_id ]
|
||||
data[ Organization.to_app_model ][ self.organization_id ] = Organization.find( self.organization_id )
|
||||
data[ Organization.to_app_model ][ self.organization_id ] = Organization.find( self.organization_id )
|
||||
end
|
||||
end
|
||||
if !data[ User.to_app_model ][ self.created_by_id ]
|
||||
data[ User.to_app_model ][ self.created_by_id ] = User.user_data_full( self.created_by_id )
|
||||
|
|
Loading…
Reference in a new issue