Merge branch 'dev_0.1' into dev_0.1
Cette révision appartient à :
révision
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
|
||||
*
|
||||
|
Chargement…
Référencer dans un nouveau ticket
Block a user