diff --git a/src/applications/phriction/controller/PhrictionDocumentController.php b/src/applications/phriction/controller/PhrictionDocumentController.php --- a/src/applications/phriction/controller/PhrictionDocumentController.php +++ b/src/applications/phriction/controller/PhrictionDocumentController.php @@ -38,7 +38,7 @@ if (!$document) { - $document = new PhrictionDocument(); + $document = PhrictionDocument::initializeNewDocument($user, $slug); $create_uri = '/phriction/edit/?slug='.$slug;