Fixed missing user lookup.

This commit is contained in:
Martin Edenhofer 2013-10-01 23:42:06 +02:00
parent 319a59f2e3
commit de9a2a6f2a

View file

@ -169,6 +169,7 @@ class SessionsController < ApplicationController
next if !session.data['user_id']
sessions_clean.push session
if session.data['user_id']
user = User.lookup( :id => session.data['user_id'] )
assets = user.assets( assets )
end
}