Skip to content
Browse files

#729: Hide "Stick topic" option when posting a new reply.

  • Loading branch information...
1 parent 8778373 commit 2f04b685149c0efca2beb35731790d48fcb5a8fd @Quy Quy committed Sep 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 post.php
View
2 post.php
@@ -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'])

0 comments on commit 2f04b68

Please sign in to comment.
Something went wrong with that request. Please try again.