FIX phpstan

This commit is contained in:
Regis Houssin 2025-01-10 06:58:51 +01:00
parent 5ab7e9ec3f
commit 3854719ee9
2 changed files with 2 additions and 0 deletions

View file

@ -145,6 +145,7 @@ $object = new stdClass(); // For triggers
*/
// Check if we have redirtodomain to do.
$doactionsthenredirect = 0;
if ($ws) {
$doactionsthenredirect = 1;
}

View file

@ -174,6 +174,7 @@ $error = 0;
// Check if we have redirtodomain to do.
$ws_virtuelhost = null;
$doactionsthenredirect = 0;
if ($ws) {
$doactionsthenredirect = 1;
include_once DOL_DOCUMENT_ROOT.'/website/class/website.class.php';