Skip to content

Commit 546bc6f

Browse files
authored
Merge pull request Dolibarr#32618 from frederic34/patch-10
fix phpstan
2 parents b48c923 + deb7663 commit 546bc6f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

htdocs/public/payment/newpayment.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
* Copyright (C) 2018-2021 Thibault FOUCART <[email protected]>
77
* Copyright (C) 2021 Waël Almoman <[email protected]>
88
* Copyright (C) 2021 Dorian Vabre <[email protected]>
9-
* Copyright (C) 2024 Frédéric France <[email protected]>
10-
* Copyright (C) 2024 MDW <[email protected]>
9+
* Copyright (C) 2024 Frédéric France <[email protected]>
10+
* Copyright (C) 2024 MDW <[email protected]>
1111
*
1212
* This program is free software; you can redistribute it and/or modify
1313
* it under the terms of the GNU General Public License as published by
@@ -232,7 +232,7 @@
232232

233233
if ($ws && !defined('USEDOLIBARRSERVER') && !defined('USEDOLIBARREDITOR')) { // So defined('USEEXTERNALSERVER') should be set but is not always
234234
include_once DOL_DOCUMENT_ROOT.'/website/class/website.class.php';
235-
$tmpwebsite = new WebSite($db);
235+
$tmpwebsite = new Website($db);
236236
$tmpwebsite->fetch(0, $ws);
237237
$urlok = $tmpwebsite->virtualhost.'/public/payment/paymentok.php?';
238238
$urlko = $tmpwebsite->virtualhost.'/public/payment/paymentko.php?';

0 commit comments

Comments
 (0)