Commit 8f0c16df authored by Tomas Norre Mikkelsen's avatar Tomas Norre Mikkelsen
Browse files

Merge branch '494-error-code-on-events-pages' into 'develop'

Resolve "Error code on events pages"

Closes #494

See merge request t3o/typo3.org!374
parents cd2eb9cd 0ac61e4e
Pipeline #9193 passed with stages
in 5 minutes and 37 seconds
......@@ -107,7 +107,7 @@ class DataHandlerHook
{
$slug = $params['slug'];
if ($params['record']['startdate']) {
$slug = date('Ymd', strtotime($params['record']['startdate'])) . '-' . $params['record']['title'];
$slug = date('Ymd', strtotime($params['record']['startdate'])) . '-' . str_replace('/', '-', $params['record']['title']);
}
return $slug;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment