Issue Bug Closed

#72817Missing select property in CONTENT object results in PHP-Error

Stefan Froemken 01/19/16, 14:44 updated 10/21/17, 17:45

Description

Hello,

we have following TypoScript:

10 = CONTENT
10 {
    table = pages        
    renderObj = TEXT
    renderObj {
        field = title
        wrap = <li>|</li>
    }
}

public function getRecords($tableName, array $queryConfiguration)

expects the second parameter as array, but as long as $conf[‘select.’] is empty it will fail with a PHP Error.

Stefan

Reviews 2