Fixing bug undefined new date.

This commit is contained in:
sergiotarxz 2022-02-09 23:39:00 +01:00
parent c20aad1b95
commit fed08e2271

View File

@ -185,7 +185,7 @@ UPDATE users SET last_karma_given_date=? WHERE id = ?;
EOF
my $user_with_new_last_karma =
$self->recover_id( id => $user->id_user );
$user->last_karma_given_date( $user->last_karma_given_date );
$user->last_karma_given_date( $user_with_new_last_karma->last_karma_given_date );
}
}