Browse Source

allow users without "mod log" permissions to at least see the time when a mod was last active

pull/40/head
Michael Save 12 years ago
parent
commit
046b6cfebf
  1. 8
      mod.php

8
mod.php

@ -1048,11 +1048,11 @@
'</td>' .
'<td>' .
(hasPermission($config['mod']['modlog']) ?
($_mod['last'] ?
($_mod['last'] ?
(hasPermission($config['mod']['modlog']) ?
'<span title="' . str_replace('"', '&quot;', utf8tohtml($_mod['action'])) . '">' . ago($_mod['last']) . '</span>'
: '<em>never</em>')
: '-') .
: ago($_mod['last']))
: '<em>never</em>') .
'</td>' .
'<td style="white-space:nowrap">' .

Loading…
Cancel
Save