Changeset 625 for trunk/Modules/Log


Ignore:
Timestamp:
Dec 4, 2013, 8:40:57 PM (10 years ago)
Author:
chronos
Message:
  • Fixed: User ID was not logged in Log module.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Log/Log.php

    r609 r625  
    3636          else $IP = addslashes($_SERVER['REMOTE_ADDR']);
    3737       
    38         if(isset($User) and !is_null($this->System->User->Id)) $UserId = $this->System->User->Id;
     38        if(isset($this->System->User) and !is_null($this->System->User->Id)) $UserId = $this->System->User->Id;
    3939          else $UserId = 'NULL';
    4040        $Query = 'INSERT INTO `Log` ( `User` , `Type` , `Text` , `Date` , `IP`, `URL` ) '.
Note: See TracChangeset for help on using the changeset viewer.