fix undefined index if let's encrypt is used for the froxlor-vhost
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -63,7 +63,7 @@ class lescript
|
|||||||
{
|
{
|
||||||
// Let's see if we have the private accountkey
|
// Let's see if we have the private accountkey
|
||||||
$this->accountKey = $certrow['leprivatekey'];
|
$this->accountKey = $certrow['leprivatekey'];
|
||||||
$this->customerId = $certrow['customerid'];
|
$this->customerId = (!$isFroxlorVhost ? $certrow['customerid'] : null);
|
||||||
$this->isFroxlorVhost = $isFroxlorVhost;
|
$this->isFroxlorVhost = $isFroxlorVhost;
|
||||||
$this->isLeProduction = (Settings::Get('system.letsencryptca') == 'production');
|
$this->isLeProduction = (Settings::Get('system.letsencryptca') == 'production');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user