Changeset f4f197c9a7b5219b4f9d0d3e780259a7beea8173

Show
Ignore:
Timestamp:
01/01/12 20:55:00 (5 months ago)
Author:
Xemle <xemle@phtagr.org>
Children:
b55fad9aaa7e20871e2fe83dbf90b439e2f027b1
Parents:
f59ada57ef5411025ad3a5ce5bfc38985de3d09b
git-committer:
Xemle <xemle@phtagr.org> / 2012-01-01T20:55:00Z+0100
Message:

Fix meta edit of single file in explorer

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • controllers/explorer_controller.php

    r1438ead rf4f197c  
    569569        Logger::warn("User '{$username}' ({$user['User']['id']}) has no previleges to change tags of image ".$id); 
    570570      } else { 
    571         $this->_checkAndSetGroupId(); 
     571        $this->Media->prepareGroupData(&$this->data, &$user); 
    572572        $tmp = $this->Media->editSingle(&$media, &$this->data); 
    573573        if (!$this->Media->save($tmp)) {