Projet

Général

Profil

gepi.patch

Proposition de patch pour gepi - Mathieu Terroba, 25/11/2011 14:56

Télécharger (819 octets)

Voir les différences:

saisie/saisie_aid.php 2011-11-24 12:06:32.000000000 +0100
69
$nom_table = "class_temp".SESSION_ID();
69
$nom_table = "class_temp".$_SESSION['login'];
70 70
if (isset($_POST['is_posted'])) {
71 71
	check_token();
72
-- prepa_conseil/visu_aid.php-old	2011-11-25 14:54:27.000000000 +0100
72
++ prepa_conseil/visu_aid.php	2011-11-24 12:05:27.000000000 +0100
......
170 170
    // on calcule le nombre maximum de p?riodes dans les classes concern?es par l'AID
171 171

  
172 172
    //
173
    $nom_table = "class_temp".SESSION_ID();
173
    $nom_table = "class_temp".$_SESSION['login'];
174 174

  
175 175
    $call_data = mysql_query("DROP TABLE IF EXISTS $nom_table");
176 176
    $call_data = mysql_query("CREATE TEMPORARY TABLE $nom_table (id_classe integer, num integer NOT NULL)");