From 29b58761626d46a9ec4c4f494fe2a526f2d56f19 Mon Sep 17 00:00:00 2001 From: Quitta Date: Sun, 1 Sep 2013 18:15:41 +0200 Subject: [PATCH] small bug fix --HG-- branch : quitta-gsoc-2013 --- code/ryzom/tools/server/ryzom_ams/www/html/func/add_user.php | 2 +- .../tools/server/ryzom_ams/www/html/templates/dashboard.tpl | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/code/ryzom/tools/server/ryzom_ams/www/html/func/add_user.php b/code/ryzom/tools/server/ryzom_ams/www/html/func/add_user.php index 75f04cc82..a7f17b0aa 100644 --- a/code/ryzom/tools/server/ryzom_ams/www/html/func/add_user.php +++ b/code/ryzom/tools/server/ryzom_ams/www/html/func/add_user.php @@ -48,7 +48,7 @@ function write_user($newUser){ try{ //make new webuser - createWebuser($params['name'], $params['pass'], $params['mail']); + $user_id = WebUsers::createWebuser($params['name'], $params['pass'], $params['mail']); //Create the user on the shard + in case shard is offline put copy of query in query db //returns: ok, shardoffline or liboffline diff --git a/code/ryzom/tools/server/ryzom_ams/www/html/templates/dashboard.tpl b/code/ryzom/tools/server/ryzom_ams/www/html/templates/dashboard.tpl index b1c73fe04..778ced05f 100644 --- a/code/ryzom/tools/server/ryzom_ams/www/html/templates/dashboard.tpl +++ b/code/ryzom/tools/server/ryzom_ams/www/html/templates/dashboard.tpl @@ -66,5 +66,7 @@ + + {/block}