Skip to content

Commit 5796474

Browse files
author
HugoMartineau
committed
fix sync
1 parent 137fce2 commit 5796474

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

admin/class-hello-asso-admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ function ha_search_campaign()
481481
$sandbox = false;
482482
$nameAsso = '';
483483

484-
if ($url !== false) {
484+
if ($url !== false && isset($url['host'])) {
485485
$domain = $url['host'];
486486

487487
if ($domain == 'helloasso-sandbox.com' || $domain == 'www.helloasso-sandbox.com') {

0 commit comments

Comments
 (0)