From d24c030296918ef9d35ee346e9c00f77f486a943 Mon Sep 17 00:00:00 2001 From: Julian Prud'homme Date: Fri, 16 Feb 2007 14:26:57 +0100 Subject: [PATCH] [svn r11128] Add Mr dokeos in tests description --- main/exercice/exercise.class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main/exercice/exercise.class.php b/main/exercice/exercise.class.php index db4f0b4ddc..a68a15300d 100644 --- a/main/exercice/exercise.class.php +++ b/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 11105 2007-02-14 08:33:43Z elixir_julian $ +* @version $Id: exercise.class.php 11128 2007-02-16 13:26:57Z elixir_julian $ */ @@ -629,6 +629,9 @@ class Exercise $defaults['exerciseTitle'] = $this -> selectTitle(); $defaults['exerciseDescription'] = $this -> selectDescription(); } + else{ + $defaults['exerciseDescription'] = '
'; + } $defaults['exerciseType'] = '1'; $form -> setDefaults($defaults);