Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Restore basic entities before auto-generating an alias (see #3767)
Browse files Browse the repository at this point in the history
  • Loading branch information
leofeyer committed Jan 6, 2012
1 parent d3e3d40 commit 2fe150b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/contao/dca/tl_calendar_events.php
Expand Up @@ -603,7 +603,7 @@ public function generateAlias($varValue, DataContainer $dc)
if (!strlen($varValue))
{
$autoAlias = true;
$varValue = standardize($dc->activeRecord->title);
$varValue = standardize($this->restoreBasicEntities($dc->activeRecord->title));
}

$objAlias = $this->Database->prepare("SELECT id FROM tl_calendar_events WHERE alias=?")
Expand Down

0 comments on commit 2fe150b

Please sign in to comment.