Browse Source

[svn r12444] Fix a bug with the exercice display type (one question per page or all the questions on the same page)

Julian Prud'homme 18 years ago
parent
commit
0b6a6778a0
1 changed files with 1 additions and 2 deletions
  1. 1 2
      main/exercice/exercise.class.php

+ 1 - 2
main/exercice/exercise.class.php

@@ -22,7 +22,7 @@
 *	Exercise class: This class allows to instantiate an object of type Exercise
 *	@package dokeos.exercise
 * 	@author Olivier Brouckaert
-* 	@version $Id: exercise.class.php 11855 2007-04-03 15:00:22Z pcool $
+* 	@version $Id: exercise.class.php 12444 2007-05-22 11:48:54Z elixir_julian $
 */
 
 
@@ -632,7 +632,6 @@ class Exercise
 		else{
 			$defaults['exerciseDescription'] = '<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td width="110" valign="top" align="left"><img src="'.api_get_path(WEB_CODE_PATH).'/default_course_document/images/mr_dokeos/thinking.jpg"></td><td valign="top" align="left"></td></tr></table>';
 		}
-		$defaults['exerciseType'] = '1';
 
 		$form -> setDefaults($defaults);