BUGFIX: some variables where not defined after moving some code around
authorArun Persaud <arun@nubati.net>
Tue, 13 May 2008 05:59:21 +0000 (22:59 -0700)
committerArun Persaud <arun@nubati.net>
Tue, 13 May 2008 05:59:21 +0000 (22:59 -0700)
forgot to add some variables as globals, while moving code to a function.

Signed-off-by: Arun Persaud <arun@nubati.net>
include/functions.php

index 31f9ba8e1c94ee4085e6d437fd21a0ac2681b551..dca96409674e342e6614d0126c617eb59cfb4512 100644 (file)
@@ -664,6 +664,7 @@ function can_call($what,$hash)
 function display_table ()
 {
   global $gameid, $GT, $debug,$INDEX,$defaulttimezone;
+  global $RULES,$GAME,$gametype;
 
   $result = DB_query("SELECT  User.fullname as name,".
                     "        Hand.position as position, ".