]> git.koha-community.org Git - koha.git/commit
Bug 11208: If no smsalertnumber is defined, the message is marked as failed
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 6 Nov 2013 13:54:36 +0000 (14:54 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Sat, 8 Feb 2014 09:18:24 +0000 (10:18 +0100)
commit932ad64f3503d43f696d0b3e534aaf3a48082b5a
treeb0207fd4f1ea3cd91bc80753a49e290dbecb223d
parentc4f6a2777d7f068d3c072352832c48461689431c
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>
(cherry picked from commit 87564a834b885188ee0e6fde800775b403d2e1c0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Letters.pm