We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c23704 commit 53505aaCopy full SHA for 53505aa
web/templates/admin/list_search.html
@@ -121,7 +121,11 @@
121
}
122
?>
123
<b>
124
- <a href="<?php echo $edit_lnk; ?>"><?=$value['RESULT']?></a>
+ <? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['user'] !== 'admin') && ($value['USER'] === 'admin') && ($_SESSION['POLICY_SYSTEM_PROTECTED_ADMIN'] === 'yes')) {?>
125
+ <?=$value['RESULT']?>
126
+ <?} else {?>
127
+ <a href="<?php echo $edit_lnk; ?>"><?=$value['RESULT']?></a>
128
+ <?}?>
129
</b>
130
</div>
131
<div class="clearfix l-unit__stat-col--left text-right compact-3">
0 commit comments