correct Moodpic for Achievements (fixes #112)

This commit is contained in:
oliver 2015-09-18 11:25:10 +02:00
parent 96ea420e7f
commit 676137b956
2 changed files with 2 additions and 3 deletions

View file

@ -84,7 +84,7 @@
public function conditions(\nre\core\Request $request, \nre\core\Response $response)
{
// Add Moodpic
$this->addSubAgent('Moodpic', 'seminary', $request->getParam(1));
$this->addSubAgent('Moodpic', 'seminary', $request->getParam(3));
}

View file

@ -562,7 +562,6 @@
// Remove old conditions
if($conditions[$conditionIndex]['condition'] != $achievement['condition'])
{
var_dump("remove");
switch($achievement['condition'])
{
// Date conditions
@ -895,7 +894,7 @@
}
// Redirect to overview
$this->redirect($this->linker->link(array('manage', $seminary['url']), 1, true, null, false, $achievement['url']));
$this->redirect($this->linker->link(array(), 4));
}