developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Ticket #829: history.diff

File history.diff, 1011 bytes (added by dubphil, 12 years ago)
  • lib/jelix/plugins/coord/history/history.coord.php

     
    3737            $history = & $_SESSION[$this->config['session_name']];
    3838
    3939            global $gJCoord;
    40             $page['params'] = $gJCoord->request->params;
    41             unset( $page['params']['module'] );
    42             unset( $page['params']['action'] );
     40            if ($_SERVER['REQUEST_METHOD'] == 'POST') {
     41                $page['params'] = $gJCoord->request->params;
     42                unset( $page['params']['module'] );
     43                unset( $page['params']['action'] );
     44            } else {
     45                $page['params'] = array();
     46            }
    4347
    4448            $page['action'] = $gJCoord->action->toString();
    4549            $page['label'] = ( !empty($params['history.label']) )? $params['history.label']:'';