summaryrefslogtreecommitdiff
path: root/inc/functions.php
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2015-03-10 13:09:53 +0100
committerczaks <marcin@6irc.net>2015-03-10 13:09:53 +0100
commit0062125f5c724183915ec48a9448684cc1b943db (patch)
treefede692dc2074cbf2ae187e1cdebdc6dba1a4f17 /inc/functions.php
parentfe7e9c5103d1dc2d0b7c1aad2cdd58a552b218fe (diff)
...
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'])