mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-12 19:02:35 +01:00
fix initAsSpecimen values
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user