Permalink
Browse files

Fixed typo stopping image importing working

  • Loading branch information...
1 parent 0f8a2e4 commit 5a0558be9032bd7a3f02ebcbe0cde5294e2c4c1d thepurpleblob committed May 31, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 question/format/xml/format.php
@@ -132,7 +132,7 @@ function import_headers( $question ) {
$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 );

0 comments on commit 5a0558b

Please sign in to comment.