Skip to content
Permalink
Browse files

ticket 8183: missing apikey

  • Loading branch information...
fmancardi committed Feb 24, 2018
1 parent fcf1c2c commit e2d1d1fa51f5437a2d0645abc9964bfa92c0786a
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/functions/print.inc.php
@@ -2205,6 +2205,7 @@ function renderExecutionForPrinting(&$dbHandler, $baseHref, $id, $userObj = null
$tprojectMgr = new testproject($dbHandler);
$tcaseMgr = new testcase($dbHandler);
$tplanMgr = new testplan($dbHandler);
}
$sql = " SELECT E.id AS execution_id, E.status, E.execution_ts, E.tester_id," .
@@ -2281,8 +2282,10 @@ function renderExecutionForPrinting(&$dbHandler, $baseHref, $id, $userObj = null
$context['user'] = $userObj;
$out .= renderTestCaseForPrinting($dbHandler,$tcase,$renderOptions,$env,$context,$indentLevel);
$tplanInfo = $tplanMgr->get_by_id($context['tplan_id']);
$out .= '<br/>' . lang_get('direct_link') . ':' .
$env->base_href . 'lnl.php?type=exec&id=' . intval($id) . '<br/>';
$env->base_href . 'lnl.php?type=exec&id=' . intval($id) .
'&apikey=' . $tplanInfo['api_key'] . '<br/>';
$exec_info = null;
}

0 comments on commit e2d1d1f

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