aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-12-01 22:51:36 +0100
committerKevin Chabowski <kevin@kch42.de>2011-12-01 22:51:36 +0100
commitc7893012cdc6214a0d3f17652850d65e30929777 (patch)
treee168fc516436f70bdc9752c6c1388c1599a10564
parent3c1c9abb4642b979b577d22caee4d810c5f06f72 (diff)
downloadratatoeskr-cms-c7893012cdc6214a0d3f17652850d65e30929777.tar.gz
ratatoeskr-cms-c7893012cdc6214a0d3f17652850d65e30929777.tar.bz2
ratatoeskr-cms-c7893012cdc6214a0d3f17652850d65e30929777.zip
Fixed potential bug in login process.
-rw-r--r--ratatoeskr/backend.php2
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 */
}