diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-01-07 15:47:52 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-01-07 15:47:52 +1100 |
| commit | 046b6cfebf3954a18f1742cca2a8ebd890798c3c (patch) | |
| tree | 5a0f02e0bdf95bb3907bcb47432321de1d302cfa /mod.php | |
| parent | ec5c421ff9babd8c2285b727f53514dd033436f7 (diff) | |
allow users without "mod log" permissions to at least see the time when a mod was last active
Diffstat (limited to 'mod.php')
| -rw-r--r-- | mod.php | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1048,11 +1048,11 @@ '</td>' . '<td>' . - (hasPermission($config['mod']['modlog']) ? - ($_mod['last'] ? + ($_mod['last'] ? + (hasPermission($config['mod']['modlog']) ? '<span title="' . str_replace('"', '"', utf8tohtml($_mod['action'])) . '">' . ago($_mod['last']) . '</span>' - : '<em>never</em>') - : '-') . + : ago($_mod['last'])) + : '<em>never</em>') . '</td>' . '<td style="white-space:nowrap">' . |
