Skip to content

Commit

Permalink
TextRunMarshaller class not returning appropriate expected class name.
Browse files Browse the repository at this point in the history
This issue was found thanks to a PR on master by Stella Lie. Thanks!
  • Loading branch information
bugalot committed Jun 9, 2015
1 parent 2c1eabb commit d65a2ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "qtism/qtism",
"description": "OAT QTI Software Module Library",
"type": "library",
"version": "0.9.4",
"version": "0.9.5",
"authors": [
{
"name": "Open Assessment Technologies S.A.",
Expand Down
2 changes: 1 addition & 1 deletion qtism/data/storage/xml/marshalling/TextRunMarshaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ protected function unmarshall(DOMElement $element) {
}

public function getExpectedQtiClassName() {
return 'randomInteger';
return 'textRun';
}
}

0 comments on commit d65a2ae

Please sign in to comment.