débogage en cours pour l'attachement des id_document
This commit is contained in:
parent
b220ddc30a
commit
1440d1ed1e
1 changed files with 2 additions and 2 deletions
|
@ -186,8 +186,6 @@ function formulaires_gamumail_traiter_dist($slug, $destinataires = 0, $Tclient =
|
|||
$cc = explode(',', $cc);
|
||||
$cci = explode(',', $cci);
|
||||
|
||||
$docs_spip = ($docs_spip != '' ? explode(',', $docs_spip) : []);
|
||||
|
||||
$destinataires = [];
|
||||
foreach ($pour as $dest) {
|
||||
if (is_numeric($dest)) {
|
||||
|
@ -210,6 +208,7 @@ function formulaires_gamumail_traiter_dist($slug, $destinataires = 0, $Tclient =
|
|||
}
|
||||
|
||||
// les documents par id_document
|
||||
$docs_spip = ($docs_spip != '' ? explode(',', $docs_spip) : []);
|
||||
if (!empty($docs_spip)) {
|
||||
foreach ($docs_spip as $id_document) {
|
||||
$Tdocument = sql_fetsel('titre,fichier,extension','spip_documents','id_document='.intval($id_document));
|
||||
|
@ -280,6 +279,7 @@ function formulaires_gamumail_traiter_dist($slug, $destinataires = 0, $Tclient =
|
|||
];
|
||||
}
|
||||
}
|
||||
var_dump($pieces_jointes);die;
|
||||
|
||||
$html_header = '';
|
||||
if (find_in_path('gamumail/'.$slug .'_html_header.html')) {
|
||||
|
|
Loading…
Add table
Reference in a new issue