From caa99ee7355fbdcd655047c476a03a1a4be9944c Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Thu, 31 May 2007 08:32:07 +0000 Subject: [PATCH] Fixed typo stopping image importing working --- question/format/xml/format.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/format/xml/format.php b/question/format/xml/format.php index ccdfa201f5..6adbfecffa 100755 --- a/question/format/xml/format.php +++ b/question/format/xml/format.php @@ -132,7 +132,7 @@ class qformat_xml extends qformat_default { $image = $this->getpath( $question, array('#','image',0,'#'), $qo->image ); $image_base64 = $this->getpath( $question, array('#','image_base64','0','#'),'' ); if (!empty($image_base64)) { - $qo->image = $this->importimagefile( $image, stripslashes(image_base64) ); + $qo->image = $this->importimagefile( $image, stripslashes($image_base64) ); } $qo->generalfeedback = $this->getpath( $question, array('#','generalfeedback',0,'#','text',0,'#'), $qo->generalfeedback, true ); $qo->defaultgrade = $this->getpath( $question, array('#','defaultgrade',0,'#'), $qo->defaultgrade ); -- 2.39.5