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

Missing break in ezfSearchResultInfo::attribute()

    XMLWordPrintable

Details

    Description

      Due to a missing break statement, when accessing ezfSearchResultInfo::attribute( 'error' ) when no errors are present, the facetQueries are returned.

      case 'error':
      {
          if ( !empty( $this->ResultArray['error'] ) )
          {
              return $this->ResultArray['error'];
          }
      }
      
      case 'facet_queries':
      {
          // ...
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jgamez jgamez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: