XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • None
    • 3.10.0rc1, 3.9.3, 4.0.0trunk
    • Legacy > WebDAV
    • None

    Description

      On line 396:
      if (count($requestedProperties) == 0) ...

      but, as per the code invoking the function, requestedProperties might be also TRUE or FALSE, which give a count() = 1. A few warnings are generated later on, when it is assumed that requestedProperties is an array.

      Fix:
      if (!is_array($requestedProperties) || count($requestedProperties) == 0)

      Attachments

        Activity

          People

            dp dp
            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: