1
Community Contributions / Couple of fixes (small 1 liners)
« on: January 14, 2011, 08:30:09 am »
I wasnt sure entirely where the best place for this was but i have been developing a charting widget and came across a couple of bugs in unused methods.
Here are the fixes :
These are in applications/models/ :
projects/Project.class.php - I changed line 1440 from :
custom_properties/CustomProperties.class.php - I changed line 76 from :
Tested after making those changes (as i was trying to use the methods.) and they work fine.
Hope that helps ^^
Cheers,
Goonerforlife
Here are the fixes :
These are in applications/models/ :
projects/Project.class.php - I changed line 1440 from :
Code: [Select]
'conditions' => array('`task_list_id` IN (?) AND ...
To :Code: [Select]
'conditions' => array('`id` IN (?) AND ...
custom_properties/CustomProperties.class.php - I changed line 76 from :
Code: [Select]
$object_type, $property_name)
To :Code: [Select]
$object_type, $custom_property_name)
Tested after making those changes (as i was trying to use the methods.) and they work fine.
Hope that helps ^^
Cheers,
Goonerforlife