Skip to content

Commit

Permalink
Merge pull request #570 from oat-sa/release-5.12.0
Browse files Browse the repository at this point in the history
Release 5.12.0
  • Loading branch information
krampstudio authored Sep 9, 2016
2 parents e5bdbfa + b481061 commit 507d2b0
Show file tree
Hide file tree
Showing 55 changed files with 4,161 additions and 1,124 deletions.
3 changes: 2 additions & 1 deletion actions/class.Creator.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*
* Copyright (c) 2013 (original work) Open Assessment Technologies SA (under the project TAO-PRODUCT);
*/
use oat\taoQtiTest\models\TestModelService;

/**
* QTI test Creator Controller.
Expand All @@ -34,7 +35,7 @@ public function index(){

$labels = array();
$testUri = $this->getRequestParameter('uri');
$testModel = new taoQtiTest_models_classes_TestModel();
$testModel = $this->getServiceManager()->get(TestModelService::SERVICE_ID);

$items = $testModel->getItems(new core_kernel_classes_Resource(tao_helpers_Uri::decode($testUri)));
foreach($items as $item){
Expand Down
Loading

0 comments on commit 507d2b0

Please sign in to comment.