Skip to content

Commit ff21662

Browse files
authored
Merge pull request #1141 from NFDI4Chem/development
Development
2 parents f4ac75b + b95e6dd commit ff21662

File tree

5 files changed

+1072
-786
lines changed

5 files changed

+1072
-786
lines changed

app/Actions/Study/UpdateStudy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function update(Study $study, array $input)
4444
])->save();
4545

4646
if (array_key_exists('tags_array', $input)) {
47-
$study->syncTagsWithType(array_filter($input['tags_array']), 'Study');
47+
$study->syncTagsWithType($input['tags_array'], 'Study');
4848
}
4949

5050
$is_public = array_key_exists('is_public', $input) ? $input['is_public'] : $study->is_public;

app/Console/Commands/PublishReleasedProjects.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ public function handle(PublishProject $publisher)
4242
$release_date = Carbon::parse($project->release_date);
4343
if ($release_date->isPast()) {
4444
if (! is_null($project->doi) && ! $project->is_archived) {
45+
// echo($project->identifier);
46+
// echo("\r\n");
4547
$publisher->publish($project);
4648
Notification::send($project->owner, new DraftProcessedNotification($project));
4749
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"spatie/laravel-permission": "^5.1",
4040
"spatie/laravel-query-builder": "^5.6",
4141
"spatie/laravel-support-bubble": "^1.2",
42-
"spatie/laravel-tags": "^4.3",
42+
"spatie/laravel-tags": "^4.6.1",
4343
"spatie/laravel-welcome-notification": "^2.3.2",
4444
"spatie/schema-org": "^3.11",
4545
"tightenco/ziggy": "^1.0"

0 commit comments

Comments
 (0)