fix t/post.t

This commit is contained in:
Kareila 2023-07-28 05:59:21 +00:00 committed by Jen
parent ea3623193a
commit 58d7efd5ff
2 changed files with 6 additions and 1 deletions

View File

@ -811,7 +811,7 @@ sub _form_to_backend {
if ( $props->{current_mood} ) {
if ( my $moodid = DW::Mood->mood_id( $props->{current_mood} ) ) {
$props->{current_moodid} = $moodid;
delete $props->{current_mood};
$props->{current_mood} = '';
}
}

View File

@ -261,6 +261,11 @@ my $postdecoded_bare = {
adult_content => '',
adult_content_reason => '',
current_location => '',
current_music => '',
current_mood => '',
current_moodid => '',
admin_post => 0,
}
};