Commit a19c9897 authored by Mac Newbold's avatar Mac Newbold

Fix boolean error in last commit.

parent 1db322fa
...@@ -511,7 +511,7 @@ if ($thumb && !$idle) { ...@@ -511,7 +511,7 @@ if ($thumb && !$idle) {
} }
$idlemailinterval = TBGetSiteVar("idle/mailinterval"); $idlemailinterval = TBGetSiteVar("idle/mailinterval");
# Is it toosoon to send another mail? # Is it toosoon to send another mail?
$toosoon = ($swapreq==0 || ($lastswapreq < $idlemailinterval)); $toosoon = ($swapreq>0 && ($lastswapreq < $idlemailinterval));
$lastlogin = "<td>"; $lastlogin = "<td>";
if ($lastexpnodelogins = TBExpUidLastLogins($pid, $eid)) { if ($lastexpnodelogins = TBExpUidLastLogins($pid, $eid)) {
$daysidle=$lastexpnodelogins["daysidle"]; $daysidle=$lastexpnodelogins["daysidle"];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment