Skip to content

Commit

Permalink
Missed one of the regexes with trailing /u flags
Browse files Browse the repository at this point in the history
  • Loading branch information
kolber committed Dec 15, 2009
1 parent 23832d2 commit afc2cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/page-data.inc.php
Expand Up @@ -87,7 +87,7 @@ static function create_vars($page) {
$split_url = explode("/", $page->url_path);
$page->slug = $split_url[count($split_url) - 1];
# @page_name
$page->page_name = ucfirst(preg_replace('/[-_](.)/eu', "' '.strtoupper('\\1')", $page->data['@slug']));
$page->page_name = ucfirst(preg_replace('/[-_](.)/e', "' '.strtoupper('\\1')", $page->data['@slug']));
# @root_path
$page->root_path = Helpers::relative_root_path();
# @thumb
Expand Down

0 comments on commit afc2cb0

Please sign in to comment.