summaryrefslogtreecommitdiffstats
path: root/include/user.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2008-05-08 20:40:43 -0700
committerArun Persaud <arun@nubati.net>2008-05-08 20:40:43 -0700
commit9239ba22c382383cd258ad3f36b2bc0dc99664b2 (patch)
tree916f1a75fa7624a9ec756b5ff673ba796812b7ed /include/user.php
parent90323815e10b6bd6dc04e270a78ee9687a2f357a (diff)
downloade-DoKo-9239ba22c382383cd258ad3f36b2bc0dc99664b2.tar.gz
e-DoKo-9239ba22c382383cd258ad3f36b2bc0dc99664b2.tar.bz2
e-DoKo-9239ba22c382383cd258ad3f36b2bc0dc99664b2.zip
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 <arun@nubati.net>
Diffstat (limited to 'include/user.php')
-rw-r--r--include/user.php2
1 files changed, 1 insertions, 1 deletions
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"))