From e6faaa335274f0ed98779bc1db8cc99637dc983d Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Tue, 11 Nov 2014 00:28:13 +0100 Subject: [PATCH] [Orga] OubliƩ session_start() --- orga.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/orga.php b/orga.php index 682146e..5167139 100644 --- a/orga.php +++ b/orga.php @@ -5,6 +5,9 @@ $time = time(); # e_ : est + +session_start(); + $e_connecte = isset($_SESSION["connected"]) && $_SESSION["connected"]; $e_admin = isset($_SESSION["admin"]) && $_SESSION["admin"]; @@ -13,7 +16,7 @@ if ($e_connecte) { if ($e_admin) { $droits = array('voir', 'voter', 'ajouter', 'proposer', 'annuler', 'supprimer', 'modifier', 'valider'); } else { - $droits = array('voir', 'voter'); + $droits = array('voir', 'voter', 'proposer'); } } else { $droits = array('voir'); -- libgit2 0.21.2