From f835315ba162c3dd448a2201eb07128634d7bde0 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Thu, 13 Mar 2008 22:29:12 +0000 Subject: [PATCH] show_room function with new step arg --- web/index_rd.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 2.17.1