Skip to content

Commit 31cc7e0

Browse files
committed
Fix chart3 coming for closed models
1 parent 4933d76 commit 31cc7e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qa-show-results.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ public function process_request($request)
343343
$qa_content['custom_2'] = '<div id="chartContainer2" class="bgtext" style="height: 370px; width: 100%;"></div>
344344
<button class="btn btn-primary" id="printChart2">Download</button>';
345345
}
346-
if ($openmodel) {
346+
if ($openmodel == "true") {
347347
$qa_content['custom_3'] = '<div id="chartContainer3" class="bgtext" style="height: 370px; width: 100%;"></div>
348348
<button class="btn btn-primary" id="printChart3">Download</button>';
349349
}

0 commit comments

Comments
 (0)