fix: Error Displaying Multiple TimeTracking Wobjects

This commit is contained in:
Eric Kennedy 2006-10-05 20:45:52 +00:00
parent 0be1331431
commit 01bfe673ae
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@
- fix: adding Matrix listings committing the current version tag
- fix: user searches in task resource additions in PM not displaying right without both last name and first name present
- fix: task editor in PM not actually receiving start/end date information at first
- fix: Error Displaying Multiple TimeTracking Wobjects (ekennedy)
7.0.9
- Removed the need for DateTime::Cron::Simple, which also added the ability

View file

@ -671,7 +671,7 @@ sub www_buildTimeTable {
my $resourceIdFromForm = $form->get("resourceId");
my $resourceId = ($user->isInGroup($self->get("groupToManage")) && $resourceIdFromForm)?$resourceIdFromForm:$user->userId;
#Build Report Info
my $report = $db->quickHashRef("select * from TT_report where resourceId=? and startDate=? and endDate=?",[$resourceId,$weekStart,$weekEnd]);
my $report = $db->quickHashRef("select * from TT_report where resourceId=? and assetId=? and startDate=? and endDate=?",[$resourceId,$self->getId,$weekStart,$weekEnd]);
my $reportId = $report->{reportId};
#$eh->warn($reportId);
#Add Report Stuff to form header