Skip to content

Commit

Permalink
Fix: Assign name according to name template for new extra addressbooks
Browse files Browse the repository at this point in the history
  • Loading branch information
mstilkerich committed Oct 16, 2022
1 parent e65b168 commit 68bf7be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Frontend/AdminSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ private function insertExtraAddressbook(
$abookTmpl['discovered'] = '0';
$abookTmpl['sync_token'] = '';
$abookTmpl['url'] = $xabookUrl;
$abookTmpl['name'] = $abook->getName();
$abookTmpl['name'] = $abMgr->replacePlaceholdersAbookName($abookTmpl['name'], $accountCfg, $abook);
$abMgr->insertAddressbook($abookTmpl);
} else {
throw new Exception("no addressbook collection at given URL");
Expand Down

0 comments on commit 68bf7be

Please sign in to comment.