Changeset 86bb78


Ignore:
Timestamp:
04/26/15 20:16:47 (2 years ago)
Author:
pierre-alain <pierre-alain@…>
Branches:
master
Children:
3736fa
Parents:
d8fab2
git-author:
pierre-alain <pierre-alain@…> (04/26/15 20:16:47)
git-committer:
pierre-alain <pierre-alain@…> (04/26/15 20:16:47)
Message:

fixing token set badly in cache in index page

File:
1 edited

Legend:

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

    r40b2a4 r86bb78  
    175175        $noCacheDatas['unread_0'] = isset($datas['unreads'][0]) ? $datas['unreads'][0] : 0; 
    176176        $noCacheDatas['bold_0'] = $noCacheDatas['unread_0'] > 0 ? ' class="bold"' : ''; 
    177         $noCacheDatas['token'] = User::iGet()->getToken(); 
    178177        $noCacheDatas['userlogin'] = htmlentities(User::iGet()->getLogin(), ENT_COMPAT, 'UTF-8'); 
    179178 
     
    196195        $this->_view->addBlock('footer', 'footer', $this->_view->get('footer', $datas, null, $noCacheDatas)); 
    197196 
     197        $noCacheDatas['token'] = User::iGet()->getToken(); 
     198 
    198199        return $this->_view->get(__FUNCTION__, $datas, null, $noCacheDatas); 
    199200    } 
Note: See TracChangeset for help on using the changeset viewer.