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:
parent
fd9b6632f2
commit
c0e131b5f7
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue