fix initAsSpecimen values
This commit is contained in:
parent
2cb4dd29f8
commit
565a9eb191
1 changed files with 2 additions and 2 deletions
|
|
@ -868,7 +868,7 @@ class WebsitePage extends CommonObject
|
|||
|
||||
$now = dol_now();
|
||||
|
||||
$this->fk_website = '';
|
||||
$this->fk_website = 0;
|
||||
$this->type_container = 'page';
|
||||
$this->pageurl = 'specimen';
|
||||
$this->aliasalt = 'specimenalt';
|
||||
|
|
@ -879,7 +879,7 @@ class WebsitePage extends CommonObject
|
|||
$this->allowed_in_frames = 1;
|
||||
$this->htmlheader = '';
|
||||
$this->content = '<html><body>This is a html content</body></html>';
|
||||
$this->status = '';
|
||||
$this->status = self::STATUS_DRAFT;
|
||||
$this->grabbed_from = '';
|
||||
$this->date_creation = $now - (24 * 30 * 3600);
|
||||
$this->date_modification = $now - (24 * 7 * 3600);
|
||||
|
|
|
|||
Loading…
Reference in a new issue