X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=www%2Fplugins%2Ffacteur%2Ffacteur_pipelines.php;fp=www%2Fplugins%2Ffacteur%2Ffacteur_pipelines.php;h=9c45c19633c65df8b6280bd3cd6613613d8250a4;hb=c0f18416f529232b5555c6410a8765a5125ebcd3;hp=2bdbdce40256a2cf5305965ef60af17652950ded;hpb=50522c53acc9e61a4a7de3a1890c4ba93e2f61b4;p=lhc%2Fweb%2Fwww.git diff --git a/www/plugins/facteur/facteur_pipelines.php b/www/plugins/facteur/facteur_pipelines.php index 2bdbdce4..9c45c196 100644 --- a/www/plugins/facteur/facteur_pipelines.php +++ b/www/plugins/facteur/facteur_pipelines.php @@ -20,8 +20,8 @@ if (!defined("_ECRIRE_INC_VERSION")) return; * @return array $flux * Le contexte du pipeline modifé */ -function facteur_recuperer_fond($flux){ - if(($flux['args']['fond'] == 'formulaires/configurer_identite') +function facteur_formulaire_fond($flux){ + if(($flux['args']['form'] == 'configurer_identite') && (isset($GLOBALS['meta']['facteur_adresse_envoi']) && $GLOBALS['meta']['facteur_adresse_envoi'] == 'oui') && (isset($GLOBALS['meta']['facteur_adresse_envoi_email']) && strlen($GLOBALS['meta']['facteur_adresse_envoi_email']) > 0)){ $ajout = '

'._T('facteur:message_identite_email').'

';