correct Moodpic for Achievements (fixes #112)
This commit is contained in:
parent
96ea420e7f
commit
676137b956
2 changed files with 2 additions and 3 deletions
|
|
@ -84,7 +84,7 @@
|
||||||
public function conditions(\nre\core\Request $request, \nre\core\Response $response)
|
public function conditions(\nre\core\Request $request, \nre\core\Response $response)
|
||||||
{
|
{
|
||||||
// Add Moodpic
|
// Add Moodpic
|
||||||
$this->addSubAgent('Moodpic', 'seminary', $request->getParam(1));
|
$this->addSubAgent('Moodpic', 'seminary', $request->getParam(3));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -562,7 +562,6 @@
|
||||||
// Remove old conditions
|
// Remove old conditions
|
||||||
if($conditions[$conditionIndex]['condition'] != $achievement['condition'])
|
if($conditions[$conditionIndex]['condition'] != $achievement['condition'])
|
||||||
{
|
{
|
||||||
var_dump("remove");
|
|
||||||
switch($achievement['condition'])
|
switch($achievement['condition'])
|
||||||
{
|
{
|
||||||
// Date conditions
|
// Date conditions
|
||||||
|
|
@ -895,7 +894,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Redirect to overview
|
// 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…
Add table
Add a link
Reference in a new issue