Author Topic: Bug found, wanna have it?  (Read 2315 times)

WildPack

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Bug found, wanna have it?
« on: September 13, 2011, 08:55:45 am »
I know, it is the wrong place, but I have no permission to write into the Bugs area of this forum. While doing some finetuning for our feng office installation, I found the following bug:

Place: application/models/custom_properties/CustomProperties.class.php
Method: getCustomPropertyByName
Bug:

Code: [Select]
return self::findOne(array(
  'conditions' => array("`object_type` = ? and `name` = ? ",
    $object_type, $property_name)
));

must be

Code: [Select]
return self::findOne(array(
  'conditions' => array("`object_type` = ? and `name` = ? ",
    $object_type, $custom_property_name)
));

The parameter is $custom_property_name and not $property_name.

Cheers

WP

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Bug found, wanna have it?
« Reply #1 on: September 16, 2011, 12:04:15 pm »
Hello WildPack, welcome to Feng Office Forums!
Bug section has been closed a while back, so in order to report bugs you would have to do it through our tickets system -Mantis-. More info can be found on this section.
Anyway, thanks for your input!

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!