From 394d16001d0a4547cddae75a78ec240a83d3fe7d Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 29 Aug 2014 10:38:31 -0400 Subject: [PATCH] Bug 3186 [QA Followup] - Don't return undef, just return Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- C4/SMS.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/SMS.pm b/C4/SMS.pm index 3a861a764d..34cce27f61 100644 --- 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; -- 2.11.0