Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of deeky666:

      Url: https://github.com/doctrine/dbal/pull/386

      Message:

      This PR fixes an uncommon but possible use case where an `Index` is constructed with an empty columns array. Following calls to `Index::getColumns()` lead to a PHP warning `array_keys() expects parameter 1 to be array, null given` as the `$_columns` property is not properly initialized.

        Activity

        Show
        Marco Pivetta added a comment - Merged: https://github.com/doctrine/dbal/commit/a619261b6b96341951f93d228493818ba334d0f6
        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-386] was closed:
        https://github.com/doctrine/dbal/pull/386

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-386] was closed: https://github.com/doctrine/dbal/pull/386

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: