From 8fe90274cacfc2ef91e44e85e2000402998a5135 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 17 Jun 2014 07:19:44 +0200 Subject: [PATCH] Fixed syntax error. --- app/models/user/assets.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/user/assets.rb b/app/models/user/assets.rb index b601fcbfe..b6cfb30a6 100644 --- a/app/models/user/assets.rb +++ b/app/models/user/assets.rb @@ -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 )