Bug 11208: If no smsalertnumber is defined, the message is marked as failed
commit87564a834b885188ee0e6fde800775b403d2e1c0
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 6 Nov 2013 13:54:36 +0000 (6 14:54 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 30 Dec 2013 16:48:23 +0000 (30 16:48 +0000)
tree5209ac9ce8579c90f0e20c0099f2d67b884d258b
parentb753678c3dff4e0fd2fde008b3c43f0796fcfb05
Bug 11208: If no smsalertnumber is defined, the message is marked as failed

For DUE message (and PREDUE, etc.) there are no check before sending the
message to the message_queue table.

This check avoids to try to send again and again the same message. Now
it is marked as "failed".

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Without the patch a sms notice will remain as 'pending' forever.
With the patch applied, the status is set to 'failed'.

Passes all tests and QA script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Letters.pm