Questtype ?submit?: redirect to uploaded file for showing Character answer (Issue #179)
This commit is contained in:
parent
ef9894460f
commit
5072822835
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?
|
||||
$solved = $this->Quests->hasCharacterSolvedQuest($quest['id'], $character['id']);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue