Questtype ?submit?: redirect to uploaded file for showing Character answer (Issue #179)
This commit is contained in:
parent
195095680e
commit
7b2eef90cb
1 changed files with 5 additions and 0 deletions
|
|
@ -157,6 +157,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Show answer of Character
|
||||||
|
if($this->request->getGetParam('show-answer') == 'true') {
|
||||||
|
$this->redirect($this->linker->link(array('uploads','seminary',$seminary['url'], $characterSubmissions[count($characterSubmissions)-1]['upload']['url'])));
|
||||||
|
}
|
||||||
|
|
||||||
// Has Character already solved Quest?
|
// Has Character already solved Quest?
|
||||||
$solved = $this->Quests->hasCharacterSolvedQuest($quest['id'], $character['id']);
|
$solved = $this->Quests->hasCharacterSolvedQuest($quest['id'], $character['id']);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue