Skip to content

Commit

Permalink
#729: Hide "Stick topic" option when posting a new reply.
Browse files Browse the repository at this point in the history
  • Loading branch information
Quy Ton committed Sep 28, 2012
1 parent 8778373 commit 2f04b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion post.php
Expand Up @@ -647,7 +647,7 @@
<?php

$checkboxes = array();
if ($is_admmod)
if ($fid && $is_admmod)
$checkboxes[] = '<label><input type="checkbox" name="stick_topic" value="1" tabindex="'.($cur_index++).'"'.(isset($_POST['stick_topic']) ? ' checked="checked"' : '').' />'.$lang_common['Stick topic'].'<br /></label>';

if (!$pun_user['is_guest'])
Expand Down

0 comments on commit 2f04b68

Please sign in to comment.