Skip to content

Commit

Permalink
[#604 state:resolved] Correct overwriting of log message with default…
Browse files Browse the repository at this point in the history
… empty string value.
  • Loading branch information
dphillips committed Dec 14, 2010
1 parent 25a91bf commit 9a4c90c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MT/App.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3664,7 +3664,7 @@ sub log {
# we will turn into a hash reference filling in the
# defaults for undefined values
else {
$msg = { message => $msg, %defaults };
$msg = { %defaults, message => $msg };
}

# Now, send it on up to the SUPER class
Expand Down

0 comments on commit 9a4c90c

Please sign in to comment.