From 802e740192e830169193005d13ab90b3255b85f0 Mon Sep 17 00:00:00 2001 From: Nachtfalkeaw Date: Sun, 11 Sep 2011 00:58:35 +0300 Subject: fixing wrong variable reported in: http://redmine.pfsense.com/issues/1842 --- config/freeradius.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/freeradius.inc') diff --git a/config/freeradius.inc b/config/freeradius.inc index 8c457e1f..b7e4208c 100644 --- a/config/freeradius.inc +++ b/config/freeradius.inc @@ -461,7 +461,7 @@ function freeradius_users_resync() { if ($multiconnect <> '') { $head .=", Simultaneous-Use += $multiconnect"; } - if ($x <> '') { + if ($userexpiration <> '') { $head .=", Expiration := ".'"'.$userexpiration.'"'; } if ($onlinetime <> '') { -- cgit v1.2.3