]> git.agnieray.net Git - galette.git/commitdiff
Fix social networks replacements; closes #1606
authorJohan Cwiklinski <johan@x-tnd.be>
Sun, 12 Dec 2021 08:52:13 +0000 (09:52 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Thu, 16 Dec 2021 05:31:12 +0000 (06:31 +0100)
galette/lib/Galette/Core/Preferences.php

index 946f9f4bc0115e1d33bab1767966190dc09f0653..5c296e0baad8144e667e995f78689db07dbd8cf0 100644 (file)
@@ -1237,7 +1237,7 @@ class Preferences
         $types = $this->getCoreRegisteredTypes() + $social->getSystemTypes(false);
 
         foreach ($types as $type) {
-            $s_patterns['asso_social_' . $type] = [
+            $s_patterns['asso_social_' . strtolower($type)] = [
                 'title' => $social->getSystemType($type),
                 'pattern' => '/{ASSO_SOCIAL_' . strtoupper($type) . '}/'
             ];