diff --git a/Core/Execution.php b/Core/Execution.php index 6ba7007..585d72f 100644 --- a/Core/Execution.php +++ b/Core/Execution.php @@ -100,7 +100,7 @@ public function computeData() { public function computeDataOfView(View $view) { if ($view->getData() != null) { $this->flash = array_merge($this->flash, $view->getData()->getFlash()); - $red = $view->getData()->getRedirection($this->entityInfo->name); + $red = $view->getData()->getRedirection($this->entityInfo->getId()); if ($red != null) $this->redirection = $red; }