diff --git a/ecrire/js_menu_rubriques.php b/ecrire/js_menu_rubriques.php index 4b2f1d0b03d77d68221dcff2830e322e805602a8..6ed9be87d133f61cbc8b1c8451d063f267eab83b 100644 --- a/ecrire/js_menu_rubriques.php +++ b/ecrire/js_menu_rubriques.php @@ -15,8 +15,7 @@ include_once("inc.php3"); if (http_last_modified(@filemtime("js_menu_rubriques.php"), time() + 24 * 3600)) exit; -$charset = lire_meta("charset"); -@header('Content-type: text/javascript; charset=$charset'); +@header('Content-type: text/javascript; charset='.lire_meta('charset')); function extraire_article($id_p) { if (array_key_exists($id_p, $GLOBALS['db_art_cache'])) {