From 9239ba22c382383cd258ad3f36b2bc0dc99664b2 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Thu, 8 May 2008 20:40:43 -0700 Subject: CLEANUP: reorganized the 'init' phase of a game moved some code around, so that we test the result of the init phase in the init case statement. Made things a bit clearer and removed one page reload by doing this. Signed-off-by: Arun Persaud --- include/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/user.php') diff --git a/include/user.php b/include/user.php index fa4653d..00426aa 100644 --- a/include/user.php +++ b/include/user.php @@ -101,7 +101,7 @@ if(myisset("forgot")) $_SESSION["name"] = $myname; output_status(); - DB_get_PREF($myid); + $PREF = DB_get_PREF($myid); /* does the user want to change some preferences? */ if(myisset("setpref")) -- cgit v1.2.3-18-g5258