Changeset 112225 in spip-zone
- Timestamp:
- Oct 30, 2018, 7:29:45 PM (2 years ago)
- Location:
- _plugins_/profils/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/profils/trunk/inc/profils.php
r110955 r112225 430 430 function profils_traiter_peupler_request($form, $champs_objet, $config_objet) { 431 431 if (is_array($champs_objet) and $config_objet) { 432 foreach ($champs_objet as $champ => $valeur) { 433 // Si ce champ faisait vraiment partie des choses à envoyer 434 if ($config_objet[$champ] and in_array($form, $config_objet[$champ])) { 435 set_request($champ, $valeur); 432 foreach ($config_objet as $champ => $config_champ) { 433 // Si c'est configuré pour ce formulaire 434 if (in_array($form, $config_champ)) { 435 set_request('cextra_'.$champ, 1); // pour que champs extras le gère dans pre_edition ensuite 436 437 if (isset($champs_objet[$champ])) { 438 set_request($champ, $champs_objet[$champ]); 439 } 436 440 } 437 441 } -
_plugins_/profils/trunk/paquet.xml
r112213 r112225 2 2 prefix="profils" 3 3 categorie="auteur" 4 version="1.3. 4"4 version="1.3.5" 5 5 schema="1.0.0" 6 6 etat="test"
Note: See TracChangeset
for help on using the changeset viewer.