diff --git a/web/site/mustard/edinstres.php b/web/site/mustard/edinstres.php index b6e2eb2..5ce9bc6 100644 --- a/web/site/mustard/edinstres.php +++ b/web/site/mustard/edinstres.php @@ -119,8 +119,7 @@ $res=mysqli_query($link,'SELECT *, ID AS IID FROM Instances WHERE ID='.$instid) $inst=mysqli_fetch_assoc($res); require '../../lib/columns.php'; -require '../../lib/gracetime.php'; -$graceline=$now-$gracetime; +require '../../lib/grace.php'; require '../../lib/dispinst.php'; $out=dispinst($inst,$cols,$link,$dlang,$account,false,0,0,$graceline);