Skip to content

Commit c39103a

Browse files
author
Kristan Kenney
committed
Hide user selection dropdown in Statistics view when impersonating user
1 parent 34985eb commit c39103a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

web/templates/admin/list_stats.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
</td>
1616
</tr>
1717
</table>
18+
<? if (($_SESSION['userContext'] === 'admin') && (!isset($_SESSION['look']))) {?>
1819
<table>
1920
<tr>
2021
<td>
@@ -39,6 +40,7 @@
3940
</td>
4041
</tr>
4142
</table>
43+
<? } ?>
4244
</div>
4345
</div>
4446
</div>

0 commit comments

Comments
 (0)