Skip to content
Snippets Groups Projects
Unverified Commit c222fad2 authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #4177 from mwhitneysdsu/patch-4

Check permissions before displaying Close Task
parents 5addff2f 981ddbc3
No related branches found
No related tags found
No related merge requests found
......@@ -154,7 +154,7 @@ if ($task->isOverdue())
echo __('Reopen');?> </a>
</li>
<?php
} else {
} elseif ($canClose) {
?>
<li>
<a class="no-pjax task-action"
......@@ -212,7 +212,7 @@ if ($task->isOverdue())
echo __('Reopen');?> </a>
</li>
<?php
} else {
} elseif ($canClose) {
?>
<li>
<a class="no-pjax task-action"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment