Skip to content

Commit

Permalink
Merge pull request ILIAS-eLearning#18 from klees/4_4_reporting
Browse files Browse the repository at this point in the history
Patch for Bug in Reportcreation.
  • Loading branch information
dkloepfer authored and Denis Kloepfer committed Oct 30, 2015
1 parent f4efc19 commit 3113a3d
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ protected function afterConstructor() {
$this->gAccess = $ilAccess;
$this->gTabs = $ilTabs;

$this->setFilterAction();
// TODO: this is crapy. The root cause of this problem is, that the
// filter should no need to know about it's action. The _rendering_
// of the filter needs to know about the action.
if ($this->object !== null) {
$this->setFilterAction();
}

$this->order = null;
$this->title = null;
Expand Down Expand Up @@ -68,7 +73,7 @@ final public function performCommand() {
return $this->renderReport();
break;
default:
return $this->renderReport();
throw new ilException("Unknown Command '$cmd'.");
}
}

Expand Down

0 comments on commit 3113a3d

Please sign in to comment.