Changeset 93641 in spip-zone for _core_/plugins/grenier/exec/selectionner_auteur.php
- Timestamp:
- Dec 13, 2015, 2:41:19 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_core_/plugins/grenier/exec/selectionner_auteur.php
r89285 r93641 20 20 $id = intval(_request('id_article')); 21 21 $type = _request('type'); 22 if (!preg_match(',^[a-z_]+$,', $type)) $type = 'article';22 if (!preg_match(',^[a-z_]+$,', $type)) $type = 'article'; 23 23 $selectionner_auteur = charger_fonction('selectionner_auteur', 'inc'); 24 24 include_spip('inc/actions'); 25 25 ajax_retour($selectionner_auteur($id, $type)); 26 26 } 27 ?>
Note: See TracChangeset
for help on using the changeset viewer.