From 046b6cfebf3954a18f1742cca2a8ebd890798c3c Mon Sep 17 00:00:00 2001 From: Michael Save Date: Sat, 7 Jan 2012 15:47:52 +1100 Subject: [PATCH] allow users without "mod log" permissions to at least see the time when a mod was last active --- mod.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mod.php b/mod.php index e8423f46..b2b464ad 100644 --- a/mod.php +++ b/mod.php @@ -1048,11 +1048,11 @@ '' . '' . - (hasPermission($config['mod']['modlog']) ? - ($_mod['last'] ? + ($_mod['last'] ? + (hasPermission($config['mod']['modlog']) ? '' . ago($_mod['last']) . '' - : 'never') - : '-') . + : ago($_mod['last'])) + : 'never') . '' . '' .