Skip to content

Commit

Permalink
add shout after set double/triple sticky
Browse files Browse the repository at this point in the history
  • Loading branch information
tongyifan committed May 21, 2019
1 parent 67eb823 commit 028d7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion takeedit.php
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ function bark($msg)
if (isset ($_POST ["returnto"]))
$returl = $_POST ["returnto"];

if ((0 + $_POST ["sel_posstate"]) == 1 && $row ["pos_state"] != 'sticky') {
if ((0 + $_POST ["sel_posstate"]) > 1 && $row ["pos_state"] == 'normal') {
$pre_to_shoutbox ['text'] = "[b][color=red]" . ($nameset ? $nameset : $row ['name']) . "[/color][/b]被置顶啦:[url=details.php?id=" . mysql_real_escape_string($id) . "&hit=1]大家这里戳戳戳[/url]";
$pre_to_shoutbox ['type'] = "sb";
$pre_to_shoutbox ['ip'] = "北洋媛隐身啦~啦啦啦~";
Expand Down

0 comments on commit 028d7dd

Please sign in to comment.