* Fix bug.
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class='main-col main-table'>
|
||||
<?php if($holidays):?>
|
||||
<?php if(!empty($holidays)):?>
|
||||
<table class='table text-center'>
|
||||
<thead>
|
||||
<tr class='text-center'>
|
||||
|
||||
@@ -2412,7 +2412,7 @@ class project extends control
|
||||
$this->view->title = $this->lang->project->allProject;
|
||||
$this->view->position[] = $this->lang->project->allProject;
|
||||
|
||||
$this->view->projectStats = $this->project->getProjectStats($status == 'byproduct' ? 'all' : $status, $productID, 0, 30, $orderBy, $pager, , $this->session->PRJ);
|
||||
$this->view->projectStats = $this->project->getProjectStats($status == 'byproduct' ? 'all' : $status, $productID, 0, 30, $orderBy, $pager, $this->session->PRJ);
|
||||
$this->view->products = array(0 => $this->lang->product->select) + $this->loadModel('product')->getProductsByProjec($this->session->PRJ);
|
||||
$this->view->productID = $productID;
|
||||
$this->view->projectID = $projectID;
|
||||
@@ -2505,7 +2505,7 @@ class project extends control
|
||||
unset($fields[$key]);
|
||||
}
|
||||
|
||||
$projectStats = $this->project->getProjectStats($status == 'byproduct' ? 'all' : $status, $productID, 0, 30, $orderBy, null);
|
||||
$projectStats = $this->project->getProjectStats($status == 'byproduct' ? 'all' : $status, $productID, 0, 30, $orderBy, null, $this->session->PRJ);
|
||||
$users = $this->loadModel('user')->getPairs('noletter');
|
||||
foreach($projectStats as $i => $project)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user