Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.0.3, 4.1.0
-
None
Description
the hasObjectAttribute() of the ezfloat datatype always returns true, even there is no content, this method should probably be something like
function hasObjectAttributeContent( $contentObjectAttribute ) { // return true; return !is_null( $contentObjectAttribute->attribute( 'data_float' ) ); }
Attachments
Issue Links
- relates to
-
EZP-14033 has_content of an eZInteger attribute is always true
- Closed