Browse Source

Fix rediection in ContactController

pull/392/head
Timothée Jaussoin 9 years ago
parent
commit
5d6b9e2a8a
  1. 4
      app/controllers/ContactController.php

4
app/controllers/ContactController.php

@ -15,8 +15,8 @@ class ContactController extends Base
$this->page->setTitle(__('page.contacts'));
$user = new User;
if(!$user->isLogged() && $this->fetchGet('f')) {
$this->redirect('blog', [$this->fetchGet('f')]);
if(!$user->isLogged() && $this->fetchGet('s')) {
$this->redirect('blog', [$this->fetchGet('s')]);
}
}
}
Loading…
Cancel
Save