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

PHP Notice in ezurlaliasquery.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2-beta1
    • Component/s: None
    • Labels:
    • Environment:
      • eZ Publish LS (master)
      • PHP 5.4.19

      Description

      PHP 5.4 throws an E_NOTICE when using array_diff() on a nested array. This occurs in ezurlaliasquery.php in the method hasAttribute().

      The solution is to use array_diff_assoc() instead of array_diff().

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jgamez Jérôme Gamez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 25 minutes
                25m