From: ivan Date: Thu, 9 Oct 2008 20:06:20 +0000 (+0000) Subject: use Freeradius := attribute for ALL attributes except Password. Crypt-Password,... X-Git-Tag: freeside_1_7_4rc1~167 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=b49e5e7944701a9fb65d51fbc3345414622fd1f1;p=freeside.git use Freeradius := attribute for ALL attributes except Password. Crypt-Password, User-Password, Password-With-Header should now use := instead of ==. RT#4051 --- diff --git a/FS/FS/part_export/sqlradius.pm b/FS/FS/part_export/sqlradius.pm index 88b7ed399..6b068a93d 100644 --- a/FS/FS/part_export/sqlradius.pm +++ b/FS/FS/part_export/sqlradius.pm @@ -364,7 +364,7 @@ sub sqlradius_insert { #subroutine, not method $i_sth->execute( $username, $attribute, - ( $attribute =~ /Password/i ? '==' : ':=' ), + ( $attribute eq 'Password' ? '==' : ':=' ), $attributes{$attribute}, ) or die $i_sth->errstr;