From: ivan Date: Tue, 18 Oct 2011 18:10:29 +0000 (+0000) Subject: fix suspensions by svcnum, RT#14398 X-Git-Tag: freeside_2_3_1~230 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=69e68dc904a1e0608e0a3d1d788394355f39fb9a fix suspensions by svcnum, RT#14398 --- diff --git a/FS/FS/part_export/sqlradius.pm b/FS/FS/part_export/sqlradius.pm index b868121bf..8af53abcd 100644 --- a/FS/FS/part_export/sqlradius.pm +++ b/FS/FS/part_export/sqlradius.pm @@ -358,7 +358,7 @@ sub suspended_usergroups { if (!$userspec && exists($reasonmap{$r->reason})); } my $suspend_user; - if ($userspec =~ /^d+$/ ){ + if ($userspec =~ /^\d+$/ ){ $suspend_user = qsearchs( 'svc_acct', { 'svcnum' => $userspec } ); }elsif ($userspec =~ /^\S+\@\S+$/){ my ($username,$domain) = split(/\@/, $userspec);