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