X-Git-Url: http://git.cyclocoop.org/?p=lhc%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Finc%2Fpipelines_ecrire.php;h=c24698dad7dacd8cdf99b4e49a23fbbb3f5eaba6;hp=109fe583162ddc61a3bde5163e9696947957c709;hb=122c920eb07e3f665789f8734965b576e6c25515;hpb=226942065cd4f604eb464addf45a065c9e5bc916 diff --git a/www/ecrire/inc/pipelines_ecrire.php b/www/ecrire/inc/pipelines_ecrire.php index 109fe583..c24698da 100644 --- a/www/ecrire/inc/pipelines_ecrire.php +++ b/www/ecrire/inc/pipelines_ecrire.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2012 * + * Copyright (c) 2001-2014 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -178,7 +178,7 @@ function f_queue_affiche_milieu($flux){ $args = $flux['args']; $res = ""; foreach($args as $key=>$arg){ - if (preg_match(",^id_,",$key)){ + if (preg_match(",^id_,",$key) AND is_numeric($arg) AND $arg=intval($arg)){ $objet = preg_replace(',^id_,', '', $key); $res .= recuperer_fond('modeles/object_jobs_list',array('id_objet'=>$arg,'objet'=>$objet),array('ajax'=>true)); }