summaryrefslogtreecommitdiff
path: root/inc/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/functions.php')
-rwxr-xr-xinc/functions.php4
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'])