summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2008-10-09 20:06:20 +0000
committerivan <ivan>2008-10-09 20:06:20 +0000
commitb49e5e7944701a9fb65d51fbc3345414622fd1f1 (patch)
treec1d20f9a24db2df8631f48f703bd4944047cd1b1
parent9dd8a4c494077ee2447cf50a0b82f03e7b8fefc3 (diff)
use Freeradius := attribute for ALL attributes except Password. Crypt-Password, User-Password, Password-With-Header should now use := instead of ==. RT#4051
-rw-r--r--FS/FS/part_export/sqlradius.pm2
1 files changed, 1 insertions, 1 deletions
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;