diff options
| author | Macil Tech <maciltech@gmail.com> | 2012-07-12 07:43:43 -0600 |
|---|---|---|
| committer | Macil Tech <maciltech@gmail.com> | 2013-01-19 00:39:29 -0600 |
| commit | 322b902c8a316c4c64cb81cd5db0974817ca57f5 (patch) | |
| tree | 5d82307eff89f46aa2b951a0a6213a3f865ddce3 /inc/mod | |
| parent | fda99305aee1adbf8d57dc73b46565471fac4c4d (diff) | |
Fix incorrect log message when bumplocking and stickying threads.
Diffstat (limited to 'inc/mod')
| -rw-r--r-- | inc/mod/pages.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 7baaa3d9..9526a7df 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -707,7 +707,7 @@ function mod_sticky($board, $unsticky, $post) { $query->bindValue(':sticky', $unsticky ? 0 : 1); $query->execute() or error(db_error($query)); if ($query->rowCount()) { - modLog(($unlock ? 'Unstickied' : 'Stickied') . " thread #{$post}"); + modLog(($unsticky ? 'Unstickied' : 'Stickied') . " thread #{$post}"); buildThread($post); buildIndex(); } @@ -729,7 +729,7 @@ function mod_bumplock($board, $unbumplock, $post) { $query->bindValue(':bumplock', $unbumplock ? 0 : 1); $query->execute() or error(db_error($query)); if ($query->rowCount()) { - modLog(($unlock ? 'Unbumplocked' : 'Bumplocked') . " thread #{$post}"); + modLog(($unbumplock ? 'Unbumplocked' : 'Bumplocked') . " thread #{$post}"); buildThread($post); buildIndex(); } |
