From: Matteo Nastasi (mop) Date: Thu, 13 Mar 2008 22:29:12 +0000 (+0000) Subject: show_room function with new step arg X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=f835315ba162c3dd448a2201eb07128634d7bde0;p=brisk.git show_room function with new step arg --- diff --git a/web/index_rd.php b/web/index_rd.php index d91afd0..4e03b74 100644 --- a/web/index_rd.php +++ b/web/index_rd.php @@ -89,6 +89,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su log_auth($sess, "update lacc"); $user->lacc = time(); + log_main("pre garbage_manager TRE"); $room->garbage_manager(FALSE); Room::save_data($room); @@ -183,8 +184,8 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su log_rd2("PRE-NEWSTAT: ".$user->stat); if ($user->stat == 'room') { - log_rd("roomma"); - $ret .= show_room(&$room, &$user); + log_rd("roomma ".$user->step); + $ret .= show_room(&$room, $user->step, &$user); /* NOTE the sets went common */ $new_stat = $user->stat;