Update ticketlogs.class.php

This commit is contained in:
Laurent Destailleur 2018-10-19 12:51:14 +02:00 committed by GitHub
parent 8dd7f62a77
commit 4bdde9ad56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -352,10 +352,12 @@ class Ticketlogs// extends CommonObject
*/ */
public function initAsSpecimen() public function initAsSpecimen()
{ {
global $user;
$this->id = 0; $this->id = 0;
$this->fk_track_id = ''; $this->fk_track_id = '';
$this->fk_user_create = 1; $this->fk_user_create = $user->id;
$this->datec = ''; $this->datec = '';
$this->message = ''; $this->message = '';
} }