aboutsummaryrefslogtreecommitdiffstats
path: root/bin/send-reports
diff options
context:
space:
mode:
Diffstat (limited to 'bin/send-reports')
-rwxr-xr-xbin/send-reports2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/send-reports b/bin/send-reports
index 00d9f6b5b..9d6f79d36 100755
--- a/bin/send-reports
+++ b/bin/send-reports
@@ -365,7 +365,7 @@ sub post_london_report {
my ( $problem, %h ) = @_;
my $phone = $h{phone};
my $mobile = '';
- if ($phone =~ /^\s*07/) {
+ if ($phone && $phone =~ /^\s*07/) {
$mobile = $phone;
$phone = '';
}