Changeset 9886

Show
Ignore:
Timestamp:
11/12/08 03:34:41 (2 months ago)
Author:
afz
Message:

fix check permission in updating block entry

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/jaws/html/gadgets/Blocks/AdminAjax.php

    r9794 r9886  
    6969    function UpdateBlock($id, $title, $contents, $displayTitle) 
    7070    { 
    71         $this->CheckSession('Blocks', 'UpdateBlock'); 
     71        $this->CheckSession('Blocks', 'EditBlock'); 
    7272        $user = $GLOBALS['app']->Session->GetAttribute('user_id'); 
    7373        $this->_Model->UpdateBlock($id, $title, $contents, $displayTitle, $user);