8
0

Merge branch 'dev_0.1' into dev_0.1

Dieser Commit ist enthalten in:
Daniel Seifert 2022-08-07 00:57:40 +02:00
Commit 26ea7b4e70
Signiert von: DanielS
GPG-Schlüssel-ID: 6A513E13AEE66170

Datei anzeigen

@ -147,6 +147,21 @@ class d3linkmobility_ordermanager_action extends d3ordermanager_action_abstract
return $blExpected ? $return : false === $return;
}
/**
* @param bool $blExpected
*
* @return bool
*/
protected function hasRequiredValuesNoSource(bool $blExpected): bool
{
$source = (string) $this->getManager()->getValue( 'sLinkMobilityMessageFromSource' );
$return = strlen(trim($source)) &&
in_array(trim($source), [self::SOURCE_CMS, self::SOURCE_TEMPLATE]);
return $blExpected ? $return : false === $return;
}
/**
* @param bool $blExpected
*