PrestaShop/PrestaShop — pull request #211 by PrestaEdit (2013-01-21 22:31:24+00:00)
Title: [-] Fix: if last state = current state, it's ok !

If we don't test the last state and the current state, no mail is sent because, sometimes, current_state is "Payment accepted" and so, it's a state and it's loggable.