diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-16 21:43:01 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-16 21:43:01 +1100 |
| commit | db50d076819cfec3bd19faad0d1e194914c51dcd (patch) | |
| tree | 706b114aedccc6b5e44449a4ecb90615ba06660a /inc/functions.php | |
| parent | a896abbd667fb8d1cb2f04be34a7a1a9daae6626 (diff) | |
Fixed "Return" links in threads
Diffstat (limited to 'inc/functions.php')
| -rw-r--r-- | inc/functions.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php index bc6fce45..04340be1 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -361,7 +361,8 @@ 'post_url' => POST_URL, 'index' => ROOT, 'id' => $id, - 'mod' => $mod + 'mod' => $mod, + 'return' => ($mod ? '?' . $board['url'] . FILE_INDEX : ROOT . $board['uri'] . '/' . FILE_INDEX) )); if($return) |
