Author Topic: Couple of fixes (small 1 liners)  (Read 2547 times)

goonerforlife

  • Newbie
  • *
  • Posts: 6
    • View Profile
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 :
      
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

goonerforlife

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Couple of fixes (small 1 liners)
« Reply #1 on: January 14, 2011, 08:32:24 AM »
Opps forgot to say the methods were :
  • Project->getUsersTasks
  • CustomProperties::getCustomPropertyByName

:)


 

anything