[LON-CAPA-cvs] cvs: loncom /interface slotrequest.pm
raeburn
raeburn@source.lon-capa.org
Thu, 27 May 2010 04:44:33 -0000
raeburn Thu May 27 04:44:33 2010 EDT
Modified files:
/loncom/interface slotrequest.pm
Log:
- Need to pass $symb as third arg to &allowed_slot() for slots restricted by symb to be available for the corresponding symb.
Index: loncom/interface/slotrequest.pm
diff -u loncom/interface/slotrequest.pm:1.106 loncom/interface/slotrequest.pm:1.107
--- loncom/interface/slotrequest.pm:1.106 Wed Nov 4 15:37:23 2009
+++ loncom/interface/slotrequest.pm Thu May 27 04:44:33 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler for requesting to have slots added to a students record
#
-# $Id: slotrequest.pm,v 1.106 2009/11/04 15:37:23 raeburn Exp $
+# $Id: slotrequest.pm,v 1.107 2010/05/27 04:44:33 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -847,7 +847,7 @@
(keys(%slots))) {
&Apache::lonxml::debug("Checking Slot $slot");
- next if (!&allowed_slot($slot,$slots{$slot},undef,\%slots,
+ next if (!&allowed_slot($slot,$slots{$slot},$symb,\%slots,
$consumed_uniqueperiods));
push(@available,$slot);