Changeset 94 for trunk/UCore.pas


Ignore:
Timestamp:
Sep 7, 2012, 10:43:02 PM (12 years ago)
Author:
chronos
Message:
  • Opraveno: Zobrazení stránek s a bez modulu User.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UCore.pas

    r93 r94  
    130130procedure TWebSession.LoadUserInfo;
    131131begin
    132   User.HandlerData := Self;
    133   UserOnline.HandlerData := Self;
    134   UserOnline.Update;
    135   User.Id := UserOnline.User;
    136   User.Load;
     132  if Core.ModuleManager.ModuleRunning('User') then begin
     133    User.HandlerData := Self;
     134    UserOnline.HandlerData := Self;
     135    UserOnline.Update;
     136    User.Id := UserOnline.User;
     137    User.Load;
     138  end;
    137139end;
    138140
Note: See TracChangeset for help on using the changeset viewer.