Update of /cvsroot/stack/stack-dev/lib/ui
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv25539/lib/ui
Modified Files:
Tag: item_state_separation
DisplayItem.php
Log Message:
Index: DisplayItem.php
===================================================================
RCS file: /cvsroot/stack/stack-dev/lib/ui/DisplayItem.php,v
retrieving revision 1.91.2.4.2.5
retrieving revision 1.91.2.4.2.6
diff -C2 -d -r1.91.2.4.2.5 -r1.91.2.4.2.6
*** DisplayItem.php 19 Nov 2010 18:16:19 -0000 1.91.2.4.2.5
--- DisplayItem.php 30 Nov 2010 10:34:33 -0000 1.91.2.4.2.6
***************
*** 212,217 ****
$this->seed = $seed;
}
! //$this->itemOpts = new ItemOption();
! $this->itemOpts = NULL; //load the item options stored with the question
$this->item = new InstantiatedItem($questionId, $this->itemOpts, $this->seed, $userId);
--- 212,217 ----
$this->seed = $seed;
}
! //$this->itemOpts = new ItemOption(); // but will load the options stored with the question - check line a little below
! $this->itemOpts = NULL;
$this->item = new InstantiatedItem($questionId, $this->itemOpts, $this->seed, $userId);
|