MantisBT - Third-party Modules
View Issue Details
0000992Third-party ModulesTimecardpublic2011-10-04 19:262014-06-13 20:04
Reportertak 
Assigned Tocaseydk 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000992: $percent array is not populated in Timecard flat view
DescriptionSee http://forums.web2project.net/viewtopic.php?p=13173#13151 for the original report. Just posting it here so it doesn't get lost.
Additional InformationAdded the following code to [web2project]/modules/timecard/timecard.class.php to fix:

if (!defined('W2P_BASE_DIR')) {
        die('You should not access this file directly.');
}
$percent = array(0 => '0', 5 => '5', 10 => '10', 15 => '15', 20 => '20', 25 => '25', 30 => '30', 35 => '35', 40 => '40', 45 => '45', 50 => '50', 55 => '55', 60 => '60', 65 => '65', 70 => '70', 75 => '75', 80 => '80', 85 => '85', 90 => '90', 95 => '95', 100 => '100');

Patched timecard.class.php attached.
TagsNo tags attached.
Attached Files? timecard.class.php (591) 1969-12-31 16:00
https://bugs.web2project.net/file_download.php?file_id=290&type=bug

Notes
(0002242)
eureka   
2011-10-05 09:54   
Fixed in R326
(0003466)
caseydk   
2014-06-13 20:04   
Resolved in new repository:
https://github.com/sasquatch58/modules-timecard

Issue History
2011-10-04 19:26takNew Issue
2011-10-04 19:26takFile Added: timecard.class.php
2011-10-05 09:54eurekaNote Added: 0002242
2014-04-05 17:43caseydkCategoryGeneral => Timecard
2014-06-13 20:04caseydkNote Added: 0003466
2014-06-13 20:04caseydkStatusnew => resolved
2014-06-13 20:04caseydkResolutionopen => fixed
2014-06-13 20:04caseydkAssigned To => caseydk