1
0
Fork 0
mirror of https://github.com/Oreolek/oreolek.ru.git synced 2024-05-16 16:08:22 +03:00

Followup: it's not a param, it's a GET parameter

This commit is contained in:
Alexander Yakovlev 2016-03-27 18:13:07 +07:00
parent fd9b6632f2
commit c0e131b5f7

View file

@ -142,8 +142,8 @@ class Controller_Post extends Controller_Layout {
**/
public function action_read()
{
if($this->request->param('p')) {
$this->redirect('/Post/view/'.$this->request->param('p'));
if($this->request->get('p')) {
$this->redirect('/Post/view/'.$this->request->get('p'));
}
$this->auto_render = FALSE;
$cache = Cache::instance('apcu');