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

$currentUser used uninitialized in policyLimitationFilterQuery()

    XMLWordPrintable

Details

    Description

      ezfeZPSolrQueryBuilder::policyLimitationFilterQuery():
      If $limitation is not an array AND $limitationType is 'Group' or 'Owner', $currentUser will be used uninitialized and this will crash. (In master, only 'Owner' is affected.)

      Either $currentUser should be initialized at the beginning of the method, or eZUser::currentUser() should be used directly as it is in 'Group' on master.

      Attachments

        Activity

          People

            e8318ba6-e4ae-477c-9116-36c073bd11a3@accounts.ibexa.co Patrick Allaert
            gl gl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: