Si vous constatez la perte de tickets, de commentaires ou de projets, veuillez consulter la page https://status.framasoft.org/incident/626.

Verified Commit 73f628da authored by Thomas Citharel's avatar Thomas Citharel 🌲

Merge branch 'gegeweb/PrettyNoemieCMS-fix88'

parents 46b44d9c d6cb1389
......@@ -392,7 +392,7 @@ class EditController extends Controller
//on sauvegarde la nouvelle table
$this->db->write('siteMedias.json', $siteMedias);
//et on renvoie les infos de la nouvelle entrée en json pour le script js
echo json_encode(['id'=>$id,'label'=>$label]);
echo json_encode(['id'=>$id,'label'=> htmlspecialchars($label)]);
}
/***************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment