Commit 74308e89 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Simplification

parent 5cfbeee8
......@@ -86,9 +86,7 @@ class CTimesheet extends CDpObject {
{
// Get the current timesheet period
$period = new CDate();
if (intval($_POST['timesheet_period'])) {
$period->setDate($_POST['timesheet_period'],DATE_FORMAT_UNIXTIME);
}
$q = new DBQuery();
$q->addQuery('project_id');
......
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