Skip to content
Snippets Groups Projects
Commit 3310720b authored by Eli's avatar Eli Committed by Andy Price
Browse files

Issue #3279948 by 3li, bruno.bicudo, simgui8, apaderno, tjtj, stijnhau,...

Issue #3279948 by 3li, bruno.bicudo, simgui8, apaderno, tjtj, stijnhau, poker10: preg_quote(): Passing null to parameter #1 ($str) of type string is deprecated
parent ba3506ab
No related branches found
No related tags found
3 merge requests!36PHP 8.1 fixes,!353.x - Merge Oauth work into 3.x after that work has beeb merged into 2.x,!25Issue #2951089 by thomscode, Guietc: WSOD - Proxy issue
......@@ -1453,8 +1453,8 @@ function mailchimp_page_bottom(array &$page_bottom) {
$current_path = \Drupal::service('path.current')->getPath();
$current_alias = \Drupal::service('path_alias.manager')->getAliasByPath($current_path);
if (\Drupal::service('path.matcher')->matchPath($current_path, $connected_site_paths) ||
\Drupal::service('path.matcher')->matchPath($current_alias, $connected_site_paths) ) {
if ($connected_site_paths && (\Drupal::service('path.matcher')->matchPath($current_path, $connected_site_paths) ||
\Drupal::service('path.matcher')->matchPath($current_alias, $connected_site_paths))) {
$connected_site_id = $config->get('connected_id');
if (!empty($connected_site_id)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment