General fixes

+Fixed a bug that didn't permit to edit your posts in a thread
This commit is contained in:
iopietro
2018-05-22 18:24:06 +02:00
parent f0b9f32826
commit 12ba3ec154
-2
View File
@@ -184,8 +184,6 @@ foreach($posts as $po){
<?php
if(empty($arr['close'])){
echo '<a href="allianz.php?s=2&tid='.$arr['id'].'&ac=newpost"><img id="fbtn_reply" class="dynamic_img"src="img/x.gif" alt="Replies" /></a>';
}
if($opt['opt5'] == 1 || $session->access == ADMIN){
echo '<a href="allianz.php?s=2&tid='.$arr['id'].((isset($_GET['admin']) && !empty($_GET['admin']) && $_GET['admin'] == "switch_admin") ? "" : "&admin=switch_admin").'" title="Toggle Admin mode"><img class="switch_admin dynamic_img" src="img/x.gif" alt="Toggle Admin mode" /></a>';
}
?>