diff --git a/smradius/attributes.pm b/smradius/attributes.pm index 9b6598ae7d4ec4a380b349e52dc7167d16b8fb9b..6005e5d1a1e0aa3a8e01141b1c8e2e2deedb4e45 100644 --- a/smradius/attributes.pm +++ b/smradius/attributes.pm @@ -80,7 +80,7 @@ sub addAttribute $attribute->{'Name'} =~ s/\s*(\S+)\s*/$1/; $attribute->{'Operator'} =~ s/\s*(\S+)\s*/$1/; - # Grab attribue name, operator and value + # Grab attribute name, operator and value my $name = $attribute->{'Name'}; my $operator = $attribute->{'Operator'}; my $value = $attribute->{'Value'}; diff --git a/smradius/modules/userdb/mod_userdb_sql.pm b/smradius/modules/userdb/mod_userdb_sql.pm index 096c312a1dccb24f82c53e1fcb5591b8be970b1b..6f104f6377179a970096bd5a1d5eb534a91272fe 100644 --- a/smradius/modules/userdb/mod_userdb_sql.pm +++ b/smradius/modules/userdb/mod_userdb_sql.pm @@ -241,7 +241,7 @@ sub get return -1; } - # Loop with group attributes + # Loop with user attributes while (my $row = $sth->fetchrow_hashref()) { addAttribute($server,\%attributes,\%vattributes,hashifyLCtoMC($row,qw(Name Operator Value))); }