diff options
| author | Master Splinter <settr@cock.li> | 2017-09-23 23:26:44 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-23 23:26:44 +0300 |
| commit | 6f905fca2c755c01e06c587993a65ab5698717e8 (patch) | |
| tree | 1f8e483cb96d9a2ad07efb4a86980a05b281b6d6 | |
| parent | a00c682645265695887088d3a72db5b965ffb1cf (diff) | |
Update post.php
It was logged as 0.html when link_for is called with $post
| -rw-r--r-- | post.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -332,7 +332,7 @@ if (isset($_POST['delete'])) { if ($config['syslog']) _syslog(LOG_INFO, 'Reported post: ' . - '/' . $board['dir'] . $config['dir']['res'] . link_for($post) . ($thread['thread'] ? '#' . $id : '') . + '/' . $board['dir'] . $config['dir']['res'] . link_for($thread) . ($thread['thread'] ? '#' . $id : '') . ' for "' . $reason . '"' ); $query = prepare("INSERT INTO ``reports`` VALUES (NULL, :time, :ip, :board, :post, :reason)"); |
