diff --git a/src/Kdyby/Facebook/Dialog/AbstractDialog.php b/src/Kdyby/Facebook/Dialog/AbstractDialog.php index 2c412fe5..0070b9ce 100644 --- a/src/Kdyby/Facebook/Dialog/AbstractDialog.php +++ b/src/Kdyby/Facebook/Dialog/AbstractDialog.php @@ -92,7 +92,9 @@ protected function attached($obj) parent::attached($obj); if ($obj instanceof Nette\Application\UI\Presenter) { - $this->currentUrl = new UrlScript($this->link('//response!')); + $parameters = $this->currentUrl->getQueryParameters(); + unset($parameters['do']); + $this->currentUrl = new UrlScript($this->link('//response!', $parameters)); } }