From 4aa905c07fa5a6c8233f3e9dac3ead7f9b5b1b98 Mon Sep 17 00:00:00 2001 From: Quitta Date: Tue, 17 Sep 2013 04:35:37 +0200 Subject: [PATCH] bah, its late and I'm not working in c++... --HG-- branch : quitta-gsoc-2013 --- code/ryzom/tools/server/ryzom_ams/www/html/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/tools/server/ryzom_ams/www/html/index.php b/code/ryzom/tools/server/ryzom_ams/www/html/index.php index 2b393cc30..dd8aa1c0b 100644 --- a/code/ryzom/tools/server/ryzom_ams/www/html/index.php +++ b/code/ryzom/tools/server/ryzom_ams/www/html/index.php @@ -35,7 +35,7 @@ if ( ! isset( $_GET["page"]) ){ //check if ingame & page= register //this is needed because the ingame register can't send a hidden $_POST["function"] -if ( Helpers::check_if_game_client() && $page.equals("register")){ +if ( Helpers::check_if_game_client() && ($page == "register")){ require( "func/add_user.php" ); $return = add_user(); }