mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
Fixed typo stopping image importing working
This commit is contained in:
parent
0fc7f62445
commit
caa99ee735
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user