correct Moodpic for Achievements (fixes #112)
This commit is contained in:
parent
96ea420e7f
commit
676137b956
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue