From 2942ca376e560639e93b263e263048fdd48ac653 Mon Sep 17 00:00:00 2001 From: Arno Kaimbacher Date: Fri, 15 Feb 2019 13:26:01 +0100 Subject: [PATCH] dataset initial state is now unpublished --- app/Http/Controllers/Publish/IndexController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Publish/IndexController.php b/app/Http/Controllers/Publish/IndexController.php index 6f63e05..ef88705 100644 --- a/app/Http/Controllers/Publish/IndexController.php +++ b/app/Http/Controllers/Publish/IndexController.php @@ -277,7 +277,7 @@ class IndexController extends Controller $input = $request->except('files', 'licenses', 'abstract_main', 'title_main', 'references', 'titles'); // array_push($input, "Himbeere"); // $input += ['server_state' => 'created' ]; - $input['server_state'] = 'created'; + $input['server_state'] = 'unpublished'; $dataset = new Dataset($input); DB::beginTransaction(); //Start transaction!