* fix a bug.
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<?php
|
<?php
|
||||||
$canBatchEdit = common::hasPriv('story', 'batchEdit');
|
$canBatchEdit = common::hasPriv('story', 'batchEdit');
|
||||||
$canBatchClose = common::hasPriv('story', 'batchClose') and strtolower($type) != 'closedbyme';
|
$canBatchClose = (common::hasPriv('story', 'batchClose') && strtolower($type) != 'closedbyme');
|
||||||
?>
|
?>
|
||||||
<?php foreach($stories as $key => $story):?>
|
<?php foreach($stories as $key => $story):?>
|
||||||
<?php $storyLink = $this->createLink('story', 'view', "id=$story->id");?>
|
<?php $storyLink = $this->createLink('story', 'view', "id=$story->id");?>
|
||||||
|
|||||||
@@ -141,7 +141,7 @@
|
|||||||
<div class='table-actions clearfix'>
|
<div class='table-actions clearfix'>
|
||||||
<?php
|
<?php
|
||||||
$canBatchEdit = common::hasPriv('task', 'batchEdit');
|
$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');
|
$canBatchAssignTo = common::hasPriv('task', 'batchAssignTo');
|
||||||
if(count($tasks))
|
if(count($tasks))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user