Skip to content

Commit

Permalink
Fixed issue #9185: End page doesn't display correctly if it contains …
Browse files Browse the repository at this point in the history
…only an image and no text
  • Loading branch information
c-schmitz committed Sep 10, 2014
1 parent 5e901c6 commit 6f35a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/SurveyRuntimeHelper.php
Expand Up @@ -625,7 +625,7 @@ function run($surveyid,$args) {
}


if (trim(strip_tags($thissurvey['surveyls_endtext'])) == '')
if (trim(str_replace(array('<p>','</p>'),'',$thissurvey['surveyls_endtext'])) == '')
{
$completed = "<br /><span class='success'>" . $clang->gT("Thank you!") . "</span><br /><br />\n\n"
. $clang->gT("Your survey responses have been recorded.") . "<br /><br />\n";
Expand Down

0 comments on commit 6f35a0f

Please sign in to comment.