From a00c1c030c3c6e7d2415e0bb7adb88917f9b564f Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20CHAZALLET?= Date: Wed, 7 Nov 2012 20:49:51 +0100 Subject: [PATCH] Modification pour galerie/DelAction --- module/Galerie/src/Galerie/Controller/IndexController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/Galerie/src/Galerie/Controller/IndexController.php b/module/Galerie/src/Galerie/Controller/IndexController.php index b8847a0..15455a3 100644 --- a/module/Galerie/src/Galerie/Controller/IndexController.php +++ b/module/Galerie/src/Galerie/Controller/IndexController.php @@ -66,7 +66,7 @@ class IndexController extends AbstractActionController public function delAction() { return $this->redirect()->toRoute('galerie/view', array( - 'id' => $id, + 'id' => $this->params()->fromRoute('id', null), )); } -- 1.7.10.4