Fix error in website module -> sitemap v14
This commit is contained in:
Laurent Destailleur 2021-07-31 12:15:42 +02:00 committed by GitHub
commit 6f5e412bd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2326,7 +2326,7 @@ if ($action == 'generatesitemaps' && $usercanedit) {
$domainname = $objp->virtualhost;
}
if (! preg_match('/^http/i', $domainname)) {
$domainname .= 'https://'.$domainname;
$domainname = 'https://'.$domainname;
}
//$pathofpage = $dolibarr_main_url_root.'/'.$pageurl.'.php';