Skip to content
Permalink
Browse files

. #8575: test report - attachment image

  • Loading branch information...
fmancardi committed Feb 21, 2019
1 parent 0e0c13a commit d213c11e8198918a2bc971a41317ea8b26997323
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/functions/print.inc.php
@@ -1264,7 +1264,7 @@ function renderTestCaseForPrinting(&$db,&$node,&$options,$env,$context,$indentLe
if($fitem['is_image']) {
$code .= "<li>{$safeFileName}</li>";
$pathname = $repoDir . $fitem['file_path'];
$pathname = $st->repoDir . $fitem['file_path'];
list($iWidth, $iHeight, $iT, $iA) = getimagesize($pathname);
$iDim = ' width=' . $iWidth . ' height=' . $iHeight;
$code .= '<li><img ' . $iDim .

0 comments on commit d213c11

Please sign in to comment.
You can’t perform that action at this time.