diff options
| author | Benjamin Southall <applemansigloo@gmail.com> | 2017-03-02 11:36:29 +0900 |
|---|---|---|
| committer | Benjamin Southall <applemansigloo@gmail.com> | 2017-03-02 11:36:29 +0900 |
| commit | 6c06045c0329a9a2c0462b0db1df5ec72dc41493 (patch) | |
| tree | ed1e89009026a6b3d8ed0620f014cfbe004fbcd8 /inc/mod/pages.php | |
| parent | b4c53e4474f8b4d80d4292b49138ccf5d3021b33 (diff) | |
#87 Attempt to change the error message associated when using deletebyip e.g D++ with autotagging of deletions enabled.
Diffstat (limited to 'inc/mod/pages.php')
| -rw-r--r-- | inc/mod/pages.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php index dfc2713a..a1401042 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -1516,6 +1516,7 @@ function mod_ban_post($board, $delete, $post, $token = false) { } if ($time !== ''){ $dt = new DateTime("@$time"); + $autotag = ""; $autotag .= $name . " " . $subject . " " . $dt->format('Y-m-d H:i:s') . " No.". $post . "\r\n"; $autotag .= "/${board}/" . " " . $filehash . " " . $filename ."\r\n"; $autotag .= $body . "\r\n"; @@ -1677,6 +1678,7 @@ function mod_delete($board, $post) { } if ($time !== ''){ $dt = new DateTime("@$time"); + $autotag = ""; $autotag .= $name . " " . $subject . " " . $dt->format('Y-m-d H:i:s') . " No.". $post . "\r\n"; $autotag .= "/${board}/" . " " . $filehash . " " . $filename ."\r\n"; $autotag .= $body . "\r\n"; @@ -1842,6 +1844,7 @@ function mod_deletebyip($boardName, $post, $global = false) { } if ($time !== ''){ $dt = new DateTime("@$time"); + $autotag = ""; $autotag .= $name . " " . $subject . " " . $dt->format('Y-m-d H:i:s') . " No.". $post['id'] . "\r\n"; $autotag .= "/${post['board']}/" . " " . $filehash . " " . $filename ."\r\n"; $autotag .= $body . "\r\n"; |
