Don't let zero mean false in expire.php
This commit is contained in:
parent
1e7d9fabdc
commit
0ff1dfb4d9
|
@ -27,7 +27,7 @@
|
|||
}
|
||||
$groupname=explode(' ', $groupline);
|
||||
$group=$groupname[0];
|
||||
if($days = get_config_value('expire.conf', $group)) {
|
||||
if(($days = get_config_value('expire.conf', $group)) !== false) {
|
||||
if($days > 0) {
|
||||
$expireme = time() - ($days * 86400);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue