fix: typo in read security allowed bookmark domains config

pull/187/head
Jeroen Pinoy 2024-11-22 22:40:25 +01:00
parent 55cac2e2e6
commit 850d559cef
No known key found for this signature in database
GPG Key ID: DF33A50B8E4EE081
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class UserSettingsTable extends AppTable
'name' => $data['bookmark_name'],
'url' => $data['bookmark_url'],
];
$restricted_domains = Configure::read('Security.restrictions.allowed_bookmark_domains');
$restricted_domains = Configure::read('security.restrictions.allowed_bookmark_domains');
if (!empty($restricted_domains)) {
$restricted_domains = explode(',', $restricted_domains);
$parsed = parse_url($bookmarkData['url']);