Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue #05908: The system is unable to find the requested action…
… "printanswers.php". Mostly fixed via http://git.io/5Zn_9g
- Loading branch information
1 parent
fa84c02
commit 2a39c0d
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -449,7 +449,7 @@ function run($surveyid,$args) { | |
// Link to Print Answer Preview ********** | ||
if ($thissurvey['printanswers'] == 'Y') | ||
{ | ||
$url = Yii::app()->getController()->createUrl("printanswers/view/?surveyid={$surveyid}"); | ||
$url = Yii::app()->getController()->createUrl("printanswers/view/surveyid/{$surveyid}"); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
sachdeva-shubham
Author
Contributor
|
||
$completed .= "<br /><br />" | ||
. "<a class='printlink' href='$url' target='_blank'>" | ||
. $clang->gT("Print your answers.") | ||
|
Did you test if this URL style really works? Because it didn't when I tested it.