diff --git a/htdocs/ticket/class/ticketlogs.class.php b/htdocs/ticket/class/ticketlogs.class.php index 68ce6481b31..66cecd6eb5e 100644 --- a/htdocs/ticket/class/ticketlogs.class.php +++ b/htdocs/ticket/class/ticketlogs.class.php @@ -352,10 +352,12 @@ class Ticketlogs// extends CommonObject */ public function initAsSpecimen() { + global $user; + $this->id = 0; $this->fk_track_id = ''; - $this->fk_user_create = 1; + $this->fk_user_create = $user->id; $this->datec = ''; $this->message = ''; }