allow users without "mod log" permissions to at least see the time when a mod was last active
This commit is contained in:
parent
ec5c421ff9
commit
046b6cfebf
8
mod.php
8
mod.php
@ -1048,11 +1048,11 @@
|
|||||||
'</td>' .
|
'</td>' .
|
||||||
|
|
||||||
'<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>'
|
'<span title="' . str_replace('"', '"', utf8tohtml($_mod['action'])) . '">' . ago($_mod['last']) . '</span>'
|
||||||
: '<em>never</em>')
|
: ago($_mod['last']))
|
||||||
: '-') .
|
: '<em>never</em>') .
|
||||||
'</td>' .
|
'</td>' .
|
||||||
|
|
||||||
'<td style="white-space:nowrap">' .
|
'<td style="white-space:nowrap">' .
|
||||||
|
Loading…
Reference in New Issue
Block a user