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

Reference warning in eZMatrixDefinition

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.10.0alpha1, 3.8.8, 3.9.2
    • 3.8.7, 3.9.0, 3.9.1
    • Misc
    • None

    Description

      In eZMatrixDefinition::xmlString:

      $columnNameNode->appendChild( $doc->createTextNode( $columnName['name'] ) );
      

      but eZDomNode::appendChild takes its parameter by reference, so you will get the PHP warning: "Only variables should be passed by reference"

      Attachments

        Activity

          People

            cyberwolf cyberwolf
            cyberwolf cyberwolf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: