diff --git a/ecrire/inc_suivi_versions.php b/ecrire/inc_suivi_versions.php index 4b021b4afa38d90f39da8f82107eacb8fb812830..7356238ba78a32eb046326034de64ae354e38ad5 100644 --- a/ecrire/inc_suivi_versions.php +++ b/ecrire/inc_suivi_versions.php @@ -41,7 +41,8 @@ function afficher_suivi_versions ($debut = 0, $id_secteur = 0, $id_auteur = fals $req_where = " AND articles.statut IN ('prop','publie')"; } - if (strlen($lang) > 0) $req_where .= " AND articles.lang='$lang'"; + if (strlen($lang) > 0) + $req_where .= " AND articles.lang='".addslashes($lang)."'"; if ($id_secteur > 0) $req_where .= " AND articles.id_secteur = $id_secteur";