diff options
| author | czaks <marcin@6irc.net> | 2015-03-10 13:09:53 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2015-03-10 13:09:53 +0100 |
| commit | 0062125f5c724183915ec48a9448684cc1b943db (patch) | |
| tree | fede692dc2074cbf2ae187e1cdebdc6dba1a4f17 /inc/functions.php | |
| parent | fe7e9c5103d1dc2d0b7c1aad2cdd58a552b218fe (diff) | |
...
Diffstat (limited to 'inc/functions.php')
| -rwxr-xr-x | inc/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/functions.php b/inc/functions.php index df5bc426..2a398ae7 100755 --- a/inc/functions.php +++ b/inc/functions.php @@ -2434,8 +2434,8 @@ function diceRoller($post) { function slugify($post) { $slug = ""; - if (isset($post['thread']) && $post['thread']) - $slug = $post['thread']; + if (isset($post['subject']) && $post['subject']) + $slug = $post['subject']; elseif (isset ($post['body_nomarkup']) && $post['body_nomarkup']) $slug = $post['body_nomarkup']; elseif (isset ($post['body']) && $post['body']) |
