OSDN Git Service
(root)
/
trpgtools-onweb
/
cake-frame.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78a8244
)
取得ユーザ情報修正
author
Cake
<cake_67@users.sourceforge.jp>
Sun, 10 Jan 2010 08:06:32 +0000
(17:06 +0900)
committer
Cake
<cake_67@users.sourceforge.jp>
Sun, 10 Jan 2010 08:06:32 +0000
(17:06 +0900)
app/controllers/users_controller.php
patch
|
blob
|
history
diff --git
a/app/controllers/users_controller.php
b/app/controllers/users_controller.php
index
487a5f9
..
8279bad
100644
(file)
--- a/
app/controllers/users_controller.php
+++ b/
app/controllers/users_controller.php
@@
-241,7
+241,7
@@
class UsersController extends ModuleController {
$this->User->saveField('useragent', $_SERVER["HTTP_USER_AGENT"]);
$this->User->saveField('host', gethostbyaddr($_SERVER["REMOTE_ADDR"]));
- $this->set('target_user', $this->
user
);
+ $this->set('target_user', $this->
getUser($this->User->id)
);
}
function _view($id) {