* Change AcctStopTime = '0' with AcctStopTime IS NULL
* Add a few more attribute help pages from Ulrich Walcher <uwalcher@bcore.de>
* Also check for $server != '' in stats.php3. Bug noted by Ulrich Walcher <uwalcher@bcore.de>
+* Consider the account locked either if Dialup-Access == FALSE or if it is not set at all
Ver 1.62:
* Remove one sql query from user_admin which was not needed.
* Instead of a query like "LIKE 'YYYY-MM-DD%'" use "AcctStopTime >= 'YYYY-MM-DD 00:00:00 AND AcctStopTime
$session_limit = (is_numeric($session_limit)) ? time2str($session_limit) : $session_limit;
$remaining = (is_numeric($remaining)) ? time2str($remaining) : $remaining;
-if ($item_vals['Dialup-Access'][0] == 'FALSE')
+if ($item_vals['Dialup-Access'][0] == 'FALSE' || (!isset($item_vals['Dialup-Access'][0]) && $attrmap['Dialup-Access'] != ''))
$msg =<<<EON
<font color=red><b> The user account is locked </b></font>
EON;