Bug 3186 [QA Followup] - Don't return undef, just return
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 29 Aug 2014 14:38:31 +0000 (10:38 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 30 Oct 2014 04:23:12 +0000 (01:23 -0300)
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/SMS.pm

index 3a861a7..34cce27 100644 (file)
--- a/C4/SMS.pm
+++ b/C4/SMS.pm
@@ -93,7 +93,7 @@ sub send_sms {
     #Catch those errors and fail the sms-sending gracefully.
     if ($@) {
         warn $@;
-        return undef;
+        return;
     }
     # warn 'failure' unless $sent;
     return $sent;