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 fd1ba19 commit 7add6da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/contao/dca/tl_newsletter.php
Expand Up @@ -434,7 +434,7 @@ public function generateAlias($varValue, DataContainer $dc)
if (!strlen($varValue))
{
$autoAlias = true;
$varValue = standardize($dc->activeRecord->subject);
$varValue = standardize($this->restoreBasicEntities($dc->activeRecord->subject));
}

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

0 comments on commit 7add6da

Please sign in to comment.