Commit e3daf6d1 authored by Gérald Niel's avatar Gérald Niel

fix88

parent 68e6f54c
......@@ -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