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

Verified Commit d6cb1389 authored by Gérald Niel's avatar Gérald Niel Committed by Thomas Citharel

Fix #88

parent 46b44d9c
......@@ -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