diff options
author | Kevin Chabowski <kevin@kch42.de> | 2011-12-01 22:51:36 +0100 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2011-12-01 22:51:36 +0100 |
commit | c7893012cdc6214a0d3f17652850d65e30929777 (patch) | |
tree | e168fc516436f70bdc9752c6c1388c1599a10564 /ratatoeskr/backend.php | |
parent | 3c1c9abb4642b979b577d22caee4d810c5f06f72 (diff) | |
download | ratatoeskr-cms-c7893012cdc6214a0d3f17652850d65e30929777.tar.gz ratatoeskr-cms-c7893012cdc6214a0d3f17652850d65e30929777.tar.bz2 ratatoeskr-cms-c7893012cdc6214a0d3f17652850d65e30929777.zip |
Fixed potential bug in login process.
Diffstat (limited to 'ratatoeskr/backend.php')
-rw-r--r-- | ratatoeskr/backend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ratatoeskr/backend.php b/ratatoeskr/backend.php index ecdb259..0aeafc4 100644 --- a/ratatoeskr/backend.php +++ b/ratatoeskr/backend.php @@ -94,7 +94,7 @@ $backend_subactions = url_action_subactions(array( if($url_next[0] == "login") $url_next = array("content", "write"); $data["user"] = $user; - $ste->vars["user"] = array("name" => $user->username, "lang" => $user->language); + $ste->vars["user"] = array("id" => $user->get_id(), "name" => $user->username, "lang" => $user->language); return; /* Authentification successful, continue */ } |