浏览代码

Update post.php

It was logged as 0.html when link_for is called with $post
pull/130/head
Master Splinter GitHub 6 年前
父节点
当前提交
6f905fca2c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      post.php

+ 1
- 1
post.php 查看文件

@@ -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)");


正在加载...
取消
保存