1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 12:51:52 +02:00

Issue #2883 Permission fixes.

This commit is contained in:
Cameron
2017-12-01 17:00:02 -08:00
parent 5014558f7b
commit 5e4c172c2f
6 changed files with 33 additions and 18 deletions

View File

@@ -156,7 +156,7 @@ function show_admins()
</td>
<td class='center'>
";
if($row['user_id'] != "1")
if($row['user_id'] != "1" && intval($row['user_id']) !== USERID)
{
$text .= "
".$frm->submit_image("edit_admin[{$row['user_id']}]", 'edit', 'edit', LAN_EDIT)."