From: ivan Date: Thu, 9 Oct 2008 20:06:19 +0000 (+0000) Subject: use Freeradius := attribute for ALL attributes except Password. Crypt-Password,... X-Git-Tag: root_of_webpay_support~328 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=9e378e221e9acf18dd294d6e8e3c2fd0b5f26b09 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;