Commit 09b70f99 authored by Stéphane Crozat's avatar Stéphane Crozat
Browse files

Correct quotes in adminFunction (JSON )

parent cafeff87
......@@ -241,7 +241,7 @@ class Views {
echo '<script src="js/main.js"></script>';
echo '<script>var csvstudents = [["Semaine","Code","Api","Nom","Prénom","Niveau","Mail","Login"],';
foreach ($students as $s) {
echo '["$s[week]","$s[normcode]","$s[name]","$s[surname]","$s[firstname]","$s[level]","$s[email]","$s[utclogin]"],';
echo "[".$s[week].",".$s[normcode].",".$s[name].",".$s[surname].",".$s[firstname].",".$s[level].",".$s[email].",".$s[utclogin]].",";
echo "];</script>";
// Api Menu
Supports Markdown
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