* Fix a bug in lib/add_badusers.php3 which did not allow inserts in the badusers table.
* Make lib/ldap/password_check.php3 behave properly when it is passed a null password
* Allow for daily/weekly/monthly limits to be set to none and show correct results in the show user page
+* Fix a small bug in user_admin.php3.
Ver 1.29:
* Add general_ld_library_path directive and set LD_LIBRARY_PATH accordingly (used in snmpfinger and
radaclient).
$lastlog_server_port = $row['NASPortId'];
$lastlog_session_time = date2timediv($lastlog_time);
if ($daily_limit != 'none'){
- $remaining = $daily_limit - $lastlog_session_time;
+ $remaining = $remaining - $lastlog_session_time;
if ($remaining < 0)
$remaining = 0;
$log_color = ($remaining) ? 'green' : 'red';