OSDN Git Service

非公開キャラクターの画像設定バグ修正
authorCake <cake_67@users.sourceforge.jp>
Thu, 17 Feb 2011 13:54:38 +0000 (22:54 +0900)
committerCake <cake_67@users.sourceforge.jp>
Thu, 17 Feb 2011 13:54:38 +0000 (22:54 +0900)
app/controllers/characters_controller.php

index 523e124..25131d3 100644 (file)
@@ -543,7 +543,7 @@ class CharactersController extends AppController {
                        $this->redirect(array('controller' => 'characters', 'action'=>'index'));
                }
 
-               $character = $this->_get_character4character_id($id, $this->user_id, 'public');
+               $character = $this->_get_character4character_id($id, $this->user_id);
 
                if ($this->params['named']['mode'] != 'main_picture' && $this->params['named']['mode'] != 'full_length') {
                        $this->Session->setFlash(__('Invalid URL.', true));