Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-14663

has_content of an eZFloat attribute is always true

    XMLWordPrintable

Details

    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

        Activity

          People

            nfrp nfrp
            nfrp nfrp
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: