From 2480e1ab9e5312c49121576e987270ecd2143ea1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 24 Nov 2020 22:31:03 +0100 Subject: [PATCH] doxygen --- htdocs/website/class/website.class.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/htdocs/website/class/website.class.php b/htdocs/website/class/website.class.php index bd25ad54898..631de0a5fa8 100644 --- a/htdocs/website/class/website.class.php +++ b/htdocs/website/class/website.class.php @@ -99,6 +99,10 @@ class Website extends CommonObject * @var integer */ public $fk_default_home; + + /** + * @var int User Create Id + */ public $fk_user_creat; /** @@ -878,13 +882,13 @@ class Website extends CommonObject global $user; $this->id = 0; - + $this->specimen =1; $this->entity = 1; $this->ref = 'myspecimenwebsite'; $this->description = 'A specimen website'; $this->lang = 'en'; $this->otherlang = 'fr,es'; - $this->status = ''; + $this->status = 1; $this->fk_default_home = null; $this->virtualhost = 'http://myvirtualhost'; $this->fk_user_creat = $user->id; @@ -1349,8 +1353,7 @@ class Website extends CommonObject $i++; } - if ($error) - { + if ($error) { return -1; } else { return $num;