use Freeradius := attribute for ALL attributes except Password. Crypt-Password,...
[freeside.git] / FS / FS / part_export / sqlradius.pm
index 88b7ed3..6b068a9 100644 (file)
@@ -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;