Changeset 3736fa


Ignore:
Timestamp:
04/26/15 20:25:38 (3 years ago)
Author:
pierre-alain <pierre-alain@…>
Branches:
master
Children:
706f9a
Parents:
86bb78
git-author:
pierre-alain <pierre-alain@…> (04/26/15 20:25:38)
git-committer:
pierre-alain <pierre-alain@…> (04/26/15 20:25:38)
Message:

fixing token set badly in cache in edituser page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OWR/Includes/Themes/Original/Theme.php

    r86bb78 r3736fa  
    9898 
    9999    /** 
    100      * Generates use template 
     100     * Generates user template 
    101101     * 
    102102     * @param array $datas datas to generate template 
     
    107107    public function user(array $datas, array $noCacheDatas) 
    108108    { 
    109         $noCacheDatas['token'] = User::iGet()->getToken(); 
    110109        $datas['lang'] = User::iGet()->getLang(); 
    111110        $datas['xmllang'] = User::iGet()->getXMLLang(); 
     
    130129        $this->_view->addBlock('user', 'contents', $this->_view->get(__FUNCTION__, $datas, null, $noCacheDatas)); 
    131130        $this->_view->addBlock('footer', 'footer', $this->_view->get('footer', $datas, null, $noCacheDatas)); 
     131 
     132        $noCacheDatas['token'] = User::iGet()->getToken(); 
     133 
    132134        return $this->_view->get('index', $datas, null, $noCacheDatas); 
    133135    } 
Note: See TracChangeset for help on using the changeset viewer.