diff --git a/controllers/ControllerAdmin.php b/controllers/ControllerAdmin.php index 9b88657..06c6509 100644 --- a/controllers/ControllerAdmin.php +++ b/controllers/ControllerAdmin.php @@ -7,8 +7,13 @@ class controllerAdmin { session_start(); try { + if (in_array("action",$_REQUEST)) { + $action = $_REQUEST['action']; + } + else { + $action = ""; + } - $action=$_REQUEST['action']; switch($action) { case "ajoutSource": $this->ajoutSource($_REQUEST["linkSource"]);