diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-02-19 19:48:13 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-02-19 19:48:13 +1100 |
| commit | 9368638b54dedef89f85d7439c96b64fd7891adc (patch) | |
| tree | 0bf6192d9affd15c9c66b955f8cbe18924e22789 | |
| parent | efa06c270e69e012c43368dfa05e51970762e59b (diff) | |
fixed a bug from the last commit
| -rw-r--r-- | post.php | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -282,16 +282,14 @@ error(sprintf($config['error']['fileexists'], $post['mod'] ? $config['root'] . $config['file_mod'] . '?/' : $config['root'] . $board['dir'] . $config['dir']['res'] . - ($p->thread ? - $p->thread . '.html#' . $p->id + ($p['thread'] ? + $p['thread'] . '.html#' . $p['id'] : - $p->id . '.html' + $p['id'] . '.html' ) )); } - exit; - // Remove DIR_* before inserting them into the database. if($post['has_file']) { $post['file'] = substr_replace($post['file'], '', 0, strlen($board['dir'] . $config['dir']['img'])); |
