From a91139f2d8fdfd2c7baac0b1194a3c1f4104fe14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sun, 12 Apr 2020 00:57:08 +0200 Subject: [PATCH] add user --- htdocs/categories/class/categorie.class.php | 6 +++--- htdocs/categories/info.php | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/htdocs/categories/class/categorie.class.php b/htdocs/categories/class/categorie.class.php index 86e6b73ef30..ab4d4531566 100644 --- a/htdocs/categories/class/categorie.class.php +++ b/htdocs/categories/class/categorie.class.php @@ -346,10 +346,10 @@ class Categorie extends CommonObject $this->type = $res['type']; $this->ref_ext = $res['ref_ext']; $this->entity = $res['entity']; - $this->date_creation = $this->db->jdate($$res['date_creation']); + $this->date_creation = $this->db->jdate($res['date_creation']); $this->date_modification = $this->db->jdate($res['tms']); - $this->fk_user_creat = $res['fk_user_creat']; - $this->fk_user_modif = $res['fk_user_modif']; + $this->user_creation = $res['fk_user_creat']; + $this->user_modification = $res['fk_user_modif']; // Retreive all extrafield // fetch optionals attributes and labels diff --git a/htdocs/categories/info.php b/htdocs/categories/info.php index efc52aa15cb..644886c7387 100644 --- a/htdocs/categories/info.php +++ b/htdocs/categories/info.php @@ -86,7 +86,6 @@ print '
'; print '
'; dol_print_object_info($object); print '
'; - print ''; dol_fiche_end();