Commit a67eea8b authored by Jean-Paul Saman's avatar Jean-Paul Saman

view simplify

parent 23df88df
......@@ -126,9 +126,6 @@ function timesheets($type, $order)
} else {
$q->addOrder('timesheet_creator');
}
if ($sort == "Ascending")
$q->addOrder('timesheet_period ' . $order);
else
$q->addOrder('timesheet_period ' . $order);
if ($type >= 0)
......
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