mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not use blank variable $type. Use the same variable $cpdb[$i][2] that is being used in the other calls.
This commit is contained in:
parent
84e5047da7
commit
bba1c4ec79
@ -335,7 +335,7 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut
|
||||
$clientip,
|
||||
$clientmac);
|
||||
if ($acct_val == 1)
|
||||
captiveportal_logportalauth($username,$clientmac,$clientip,$type,"RADIUS ACCOUNTING FAILED");
|
||||
captiveportal_logportalauth($username,$clientmac,$clientip,$cpdb[$i][2],"RADIUS ACCOUNTING FAILED");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user