Skip to content

Conversation

0x8801
Copy link

@0x8801 0x8801 commented Nov 9, 2016

Recent versions of MySQL do not allow 0000-00-00 so the default Transaction database query keeps failing causing a null value on the setReceipt() function. Change to epoch which is allowed

Fixes #22

Recent versions of MySQL do not allow `0000-00-00` so the default Transaction database query keeps failing causing a `null` value on the `setReceipt()` function. Change to epoch which is allowed
Due to new messages e.g. mshwari, some transactions from were being saved
as empty records with only the default values and the message saved as a
note. This solves that problem by checking whether the parsed amount is
greater than 0 before saving. Otherwise it returns true.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants