Mercurial > hg > fapweb
changeset 58:005a02a2cc2d
Always show optionally hidden information for admin session on the results
page.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 05 Oct 2013 10:34:32 +0300 |
parents | f9cd2dd42b2e |
children | e5e38ed4e837 |
files | results.inc.php |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/results.inc.php Sat Oct 05 09:33:26 2013 +0300 +++ b/results.inc.php Sat Oct 05 10:34:32 2013 +0300 @@ -3,6 +3,11 @@ $showResults = stGetSetting("showResults"); $showAuthors = stGetSetting("showResAuthors"); +// Show everything for the admin session +if (stAdmSessionAuth()) + $showResults = $showAuthors = TRUE; + + function stChop($str, $len) { if (strlen($str) > $len)