Commit 5cf1af2c authored by Jean-Paul Saman's avatar Jean-Paul Saman

coding style

parent 4d3143d3
......@@ -350,8 +350,7 @@ function showproject()
// TODO: select on user and date
$log = $t->LoadList();
foreach ($log as $logitem) {
if (intval($logitem['task_log_date']))
{
if (intval($logitem['task_log_date'])) {
$taskDate = new CDate($logitem['task_log_date']);
if ( ($period->GetMonth() == $taskDate->GetMonth()) &&
($period->GetYear() == $taskDate->GetYear()) ) {
......@@ -362,8 +361,7 @@ function showproject()
}
}
if( $amount > 0 )
{
if( $amount > 0 ) {
echo '<tr>';
echo '<td>&nbsp;</td>';
echo '<td><a href="?m=projects&a=view&project_id=' . $row["project_id"] . '">' . $row["project_name"] . '</a>';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment