Merge branch 'dev_0.1' into dev_0.1
This commit is contained in:
commit
26ea7b4e70
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user