Skip to content

Commit

Permalink
Helps to actually use the renamed permlink pref
Browse files Browse the repository at this point in the history
Thanks, jakob
  • Loading branch information
Bloke committed Mar 1, 2016
1 parent 359251f commit 6083763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion textpattern/lib/txplib_misc.php
Expand Up @@ -2186,7 +2186,7 @@ function stripSpace($text, $force = false)
if ($force || get_pref('attach_titles_to_permalinks')) {
$text = trim(sanitizeForUrl($text), '-');

if (get_pref('permalink_title_format')) {
if (get_pref('permlink_format')) {
return (function_exists('mb_strtolower') ? mb_strtolower($text, 'UTF-8') : strtolower($text));
} else {
return str_replace('-', '', $text);
Expand Down

0 comments on commit 6083763

Please sign in to comment.