Fix bad variable

This commit is contained in:
Michel Wohlert 2017-12-01 23:16:07 +01:00
parent 0d96cd6692
commit 09cdc285ab

View file

@ -63,7 +63,7 @@ class ChangePasswordPostfixAdminDriver implements \RainLoop\Providers\ChangePass
private $oLogger = null; private $oLogger = null;
/** /**
* @param string $sHost * @param string $sEngine
* *
* @return \ChangePasswordPostfixAdminDriver * @return \ChangePasswordPostfixAdminDriver
*/ */
@ -232,7 +232,7 @@ class ChangePasswordPostfixAdminDriver implements \RainLoop\Providers\ChangePass
try try
{ {
$sDsn = ''; $sDsn = '';
switch($sEngine){ switch($this->sEngine){
case 'MySQL': case 'MySQL':
$sDsn = 'mysql:host='.$this->sHost.';port='.$this->iPort.';dbname='.$this->sDatabase; $sDsn = 'mysql:host='.$this->sHost.';port='.$this->iPort.';dbname='.$this->sDatabase;
break; break;