* fix a bug.

This commit is contained in:
wangyidong
2015-08-14 09:02:48 +08:00
parent 12c4635f54
commit 5396c4bc3f
2 changed files with 2 additions and 2 deletions

View File

@@ -141,7 +141,7 @@
<div class='table-actions clearfix'>
<?php
$canBatchEdit = common::hasPriv('task', 'batchEdit');
$canBatchClose = common::hasPriv('task', 'batchClose') and strtolower($browseType) != 'closedBy';
$canBatchClose = (common::hasPriv('task', 'batchClose') && strtolower($browseType) != 'closedBy');
$canBatchAssignTo = common::hasPriv('task', 'batchAssignTo');
if(count($tasks))
{