* Fix bug#3677.
This commit is contained in:
@@ -72,6 +72,7 @@ class testreport extends control
|
||||
$tasks = explode(',', $report->tasks);
|
||||
if(count($tasks) != count($taskIdList) or array_diff($tasks, $taskIdList)) unset($reports[$reportID]);
|
||||
}
|
||||
$pager->setRecTotal(count($reports));
|
||||
}
|
||||
|
||||
if(empty($reports) and common::hasPriv('testreport', 'create'))
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
<?php
|
||||
if(common::canBeChanged('report', $report))
|
||||
{
|
||||
if(common::hasPriv('testreport', 'create')) echo html::a(inLink('create', "objectID=$report->objectID&objectType=$report->objectType"), "<i class='icon-refresh'></i>", '', "class='btn' title='{$lang->testreport->recreate}'");
|
||||
if(common::hasPriv('testreport', 'create')) echo html::a(inLink('create', "objectID=$report->objectID&objectType=$report->objectType&extra=$report->id"), "<i class='icon-refresh'></i>", '', "class='btn' title='{$lang->testreport->recreate}'");
|
||||
common::printIcon('testreport', 'edit', "reportID=$report->id", '', 'button');
|
||||
common::printIcon('testreport', 'delete', "reportID=$report->id", '', 'button', 'trash', 'hiddenwin');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user